IBM User Guide for Java V7 on Windows > Reference > Command-line options
General command-line options
Use these options to print help on assert-related options, set the search path for application classes and resources, print a usage method, identify memory leaks inside the JVM, print the product version and continue, enable verbose output, and print the product version.
-cp
-classpath /path/to/jar1;/path/to/jar2Directories and compressed or .jar files separated by : (; on Windows). Sets the search path for application classes and resources. If -classpath and -cp are not used, and the CLASSPATH environment variable is not set, the user classpath is, by default, the current directory (.). -help, -? Print a usage message. -fullversion Print the build and version information for the JVM. -showversion Prints product version and continues. -verbose:<option>[,<option>...] Enable verbose output. Separate multiple options using commas.
class Write an entry to stderr for each class that is loaded. dynload Provide detailed information as each bootstrap class is loaded by the JVM:
- The class name and package
- For class files that were in a .jar file, the name and directory path of the .jar
- Details of the size of the class and the time taken to load the class
The data is written out to stderr. An example of the output on a Windows platform follows:
<Loaded java/lang/String from C:\sdk\jre\lib\vm.jar>
<Class size 17258; ROM size 21080; debug size 0>
<Read time 27368 usec; Load time 782 usec; Translate time 927 usec>gc Provide verbose garbage collection information. init Write information to stderr describing JVM initialization and termination. jni Write information to stderr describing the JNI services called by the application and JVM. sizes Write information to stderr describing the active memory usage settings. stack Write information to stderr describing the Java and C stack usage for each thread. -version Prints the full build and version information for the JVM.
Parent: Command-line options
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.