Super Prev Next

Excelsior JET Launcher

Excelsior JET Launcher is provided for quick setup of Excelsior JET projects. The Launcher has the same command line interface as the standard java launcher but instead of immediately running the program, it collects the application’s settings, such as classpath, the main class, working directory and so on, and then invokes the JET Control Panel wizard.

This simplifies project creation to a great extent because most of required settings are made automatically. After that, you use the GUI wizard to choose how to optimize your application /For example, you can select what is more important for your Java application: performance enhancement or download size reduction/ , set a few options and start the JET Optimizer to produce a native executable.

Note: the JET Launcher is the easiest way to set up a project if your Java application is started via a complex script file. You just need to replace the pathname of the standard launcher in the script and start it.

Super Prev Next

Creating a new project

To start the JET Launcher, use its full path name for the current JET profile /Subdirectories profile<java-version> of the JET installation directory contain JET profiles, that is, all the files specific to a Java SE version supported by Excelsior JET, such Java SE 6 Update 43 (1.6.0_43). The active (current) profile is managed through the JET Setup tool (see Profiles)./ , e.g.

   <JET Home>/profile1.6.0_43/jre/bin/java

and specify the same arguments as for the standard java launcher.

If you use an IDE, such as IntelliJ IDEA, JBuilder, or Eclipse, the java launcher command line is typically displayed at the top of a Run window that appears when you start your application from within the IDE. You can simply cut-and-paste it, replace the "java" command with the full path to the JET Launcher and enter the line on a command prompt.

This brings up a dialog that displays the exact java command line and the application’s working directory. Click Proceed to create a new project and open it in the JET Control Panel.

Super Prev Next

Opening an existing project

Once you have created a project file, you may continue using the Launcher to open the project with JET Control Panel. When you start the Launcher from the same working directory and supply the same arguments, it looks for existing projects, matches the settings, and displays the names of appropriate projects in the Excelsior JET projects pane:

Select the desired project or the <new project> option from that pane and click Proceed.