public class LauncherBootstrap extends Object
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%"
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
LauncherBootstrap() |
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
public LauncherBootstrap()
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.