Define Java Application Parameters

 

Defining the Java Application Parameters

This is the panel where you can specify all the parameters related to the java application itself.

Java Application Parameters
The application-specific configuration panel

  • Edit the Main Class field to specify the class used as entry point of the program. This field is mandatory.
  • The Arguments field allows you to specify default parameters for the application. Those arguments are passed as if they were specified on the command line, and are made available in the String array of the main method by Java.

WARNING

The Arguments may be overriden by some wrappers. For instance, the Console Wrapper always uses the arguments from the command line instead.

  • Using the Embedded Jar field, you can optionally specify a jar to be embedded (as a resource) in the EXE wrapper. This jar is extracted each time the application is launched, therefore you should keep it as small as possible.
  • This is specially useful for application packaged as a single EXE file.
  • The ClassPath list provides a mean to edit an ordered list of classpaths. To add a classpath, click on the and select either a .JAR, a .ZIP or a directory using the file chooser. You can remove or edit the classpath entries with the and buttons.
  • The items can be ordered to reflect the class look-up priorities of your application. Select an item, and press either or . The rules are simple: the higher in the list, the higher the priority in the classpath search sequence.

[Home] [Features] [Create Java Exe] [Skeleton Selection] [Windows Exe] [Define Parameters] [Select JVM] [Configure JVM] [Command Line] [Ant Task] [JNI Functions] [JExecutable FAQ] [License]

jexecutable@gurusoft.net