Hi David,
In the case of a .jar file being your executable, the 'targetfile' would point to this .jar file. For example:
$INSTALL_PATH = /Applications/MyApp (this would be selected by the user during during the installation process)
Assuming the .jar file that contains the class you'd like to execute is in a file called "foo.jar", your executable tag might look like this:
<executable targetfile="$INSTALL_PATH/foo.jar" type="jar" class="my.java.class" stage="postinstall"/>
Hope this helps.
Chris