Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Creating Launchers for Java Applications

deployexpert created the topic: Creating Launchers for Java Applications
InstallAnywhere provides an action that is available from the Install task which will
create launchers for Java applications. Click the Create Launcher button. This action
creates a platform-native executable for launching a Java application (also known as a
LAX executable). This LAX allows Java applications to be launched as if they were
platform-native (for example, the LaunchAnywhere executable can be launched by
double-clicking or by being called directly from the command line). A
LaunchAnywhere executable is also responsible for invoking the Java runtime, setting
the environment for the Java application, and passing any command line arguments
that may be required by the application.
When adding a LaunchAnywhere action you will be given the option to search for the
main class of your Java application. You can let InstallAnywhere find it for you, or you
can enter it yourself. You can also define the command line arguments that should to
be passed to your Java application when the LaunchAnywhere executable is run.
On Windows, InstallAnywhere will append .exe to the file. On Mac OS X, it will create
a .app package.
Defining the Launcher Type allows developers to specify whether the Java application
is either a GUI-based application calling javaw.exe (stdout and stderr suppressed by
default), or a console application calling java.exe (stdout and stderr directed to the
console by default). In addition, on Windows systems, console launchers will redirect
stdout and stderr output to the same console window from which they were invoked.
The Launcher Icon enables developers to select the icon to be used for the LAX
executable on the Mac OS X and Windows platforms. Custom icons are not available
on Unix installers. Mac OS X icons may be 128 x 128.

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x