|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectLauncherBootstrap
public class LauncherBootstrap
This class is used as a wrapper for loading the
org.apache.commons.launcher.Launcher class and invoking its
main(String[])
method. This particular
class is primary used by the Windows 95, 98, ME, and 2000 platforms to
overcome the difficulty of putting a jar file directly into the JVM's
classpath when using batch scripts on these platforms.
Specifically, the problem on thse platforms is when Windows uses the PATH environment variable to find and run a batch script, %0 will resolve incorrectly in that batch script.
The way to work around this Windows limitation is to do the following:
-classpath %0\..;"%PATH%"
Field Summary | |
---|---|
static String |
ANT_CLASSPATH_PROP_NAME
Ant classpath property name |
static String |
LAUNCHER_JAR_FILE_NAME
Jar file name |
static String |
LAUNCHER_MAIN_CLASS_NAME
Class name to load |
static String |
LAUNCHER_PROPS_FILE_NAME
Properties file name |
Constructor Summary | |
---|---|
LauncherBootstrap()
|
Method Summary | |
---|---|
static void |
main(String[] args)
The main method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ANT_CLASSPATH_PROP_NAME
public static final String LAUNCHER_JAR_FILE_NAME
public static final String LAUNCHER_PROPS_FILE_NAME
public static final String LAUNCHER_MAIN_CLASS_NAME
Constructor Detail |
---|
public LauncherBootstrap()
Method Detail |
---|
public static void main(String[] args)
args
- command line arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |