VMS Help JAVA, Qualifiers *Conan The Librarian (sorry for the slow response - running on an old VAX) |
1 - /CHECKSOURCE
/CHECKSOURCE -cs -checksource When a compiled class is loaded, this option causes the modification time of the class bytecode file to be compared to that of the class source file. If the source was modified more recently, it is recompiled and the new class file is loaded.
2 - /CLASSPATH
/CLASSPATH=path -classpath path Specifies the path that the JAVA command uses to look up classes. Overrides the default or the CLASSPATH environment variable if it is set. Directories are separated by colons. Whether you use /CLASSPATH or -classpath, the general format for path is: .:{your_path} For example: .:/home/xyz/classes:/usr/local/java/classes
3 - /JIT
/JIT /NOJIT -jit -nojit The Just-in-Time compiler (JIT) runs by default when you enter the Java command. To run the Java command with the interpreter instead of the JIT, use: $ JAVA /NOJIT ... The Java debugger runs the interpreter by default. To run the Java debugger with the JIT compiler, the /JIT qualifier must be explicitly specified. The JIT runs by default when you run appletviewer. To run appletviewer with the interpreter, use: $ APPLETVIEWER /PARAMETERS="-nojit"
4 - /MAXHEAP
/MAXHEAP=x -mx x Sets the maximum size of the memory allocation pool (the garbage collected heap) to x. The default is 6 megabytes of memory. The value of x must be greater than or equal to 1000 bytes. By default, x is measured in bytes. You can specify x in either kilobytes or megabytes by appending the letter k for kilobytes or the letter m for megabytes.
5 - /INITHEAP
/INITHEAP=x -ms x Sets the startup size of the memory allocation pool (the garbage collected heap) to x. The default is 6 megabytes of memory. The value of x must be greater than or equal to 1000 bytes. By default, x is measured in bytes. You can specify x in either kilobytes or megabytes by appending the letter k for kilobytes or the letter m for megabytes.
6 - /NOASYNCGC
/NOASYNCGC -noasyncgc Turns off asynchronous garbage collection. When activated, no garbage collection takes place unless it is explicitly called or the program runs out of memory. Normally, garbage collection runs as an asynchronous thread in parallel with other threads.
7 - /NOCLASSGC
/NOCLASSGC -noclassgc Turns off garbage collection of Java classes. By default, the Java interpreter reclaims space for unused Java classes during garbage collection.
8 - /PROFILE
/PROFILE[=file-name] -prof[: file-name] This option works only with JAVA_G. It starts the Java Runtime with Java profiling enabled. If no file name is specified, the profile results are placed in the file []JAVA.PROF. Otherwise, the profile results are placed in the specified file.
9 - /LOGLEVEL
/LOGLEVEL -l Sets the logging level (JAVA_G only).
10 - /VERSION
/VERSION -version Prints the build version information.
11 - /HELP
/HELP -help Prints a usage message.
12 - /MAXCSTACK
/MAXCSTACK=x -ss x Each Java thread has two stacks: one for Java code and one for C code. The /MAXCSTACK option sets the maximum stack size that can be used by C code in a thread to x. Every thread spawned during the execution of the program passed to JAVA has x as its C stack size. The default units for x are bytes. The value of x must be greater than or equal to 1000 bytes. You can modify the meaning of x by appending either the letter k for kilobytes or the letter m for megabytes. The default stack size is 128 kilobytes (/MAXCSTACK=128k).
13 - /MAXJSTACK
/MAXJSTACK=x -oss x Each Java thread has two stacks: one for Java code and one for C code. The /MAXJSTACK option sets the maximum stack size that can be used by Java code in a thread to x. Every thread spawned during the execution of the program passed to JAVA has x as its Java stack size. The default units for x are bytes. The value of x must be greater than or equal to 1000 bytes. You can modify the meaning of x by appending either the letter k for kilobytes or the letter m for megabytes. The default stack size is 400 kilobytes (/MAXJSTACK=400k).
14 - /TRACE
/TRACE -t Prints a trace of the instructions executed (JAVA_G only).
15 - /COMMAND_LINE
/COMMAND_LINE=file-name -V file-name Takes command-line options and arguments from the indicated file; causes other command-line options and arguments to be ignored. This qualifier is supported on OpenVMS systems only.
16 - /VERBOSE
/VERBOSE -v -verbose Causes JAVA to print a message to stdout each time a class file is loaded.
17 - /VERBOSEGC
/VERBOSEGC -verbosegc Causes the garbage collector to print out messages whenever it frees memory.
18 - /VERIFY
/VERIFY /NOVERIFY -verify -noverify Performs byte-code verification on the class file. Be aware however, that JAVA/VERIFY does not perform a full verification in all situations. Any code path that is not actually executed by the interpreter is not verified. Therefore, JAVA/VERIFY cannot be relied on to certify class files unless all code paths in the class file are actually run. The /NOVERIFY qualifier (-noverify option) turns verification off.
19 - /VERIFYREMOTE
/VERIFYREMOTE -verifyremote Runs the verifier on all code that is loaded into the system through a classloader. The default is /VERIFYREMOTE.
20 - /SYSTEM_PROPERTY
/SYSTEM_PROPERTY="propertyName=newValue" -D propertyName=newValue Redefines a property value. The propertyName is the name of the property whose value you want to change and newValue is the value to change it to. For example, the following command line sets the value of the property awt.button.color to "green". % java -Dawt.button.color=green ... The JAVA command accepts any number of /SYSTEM_PROPERTY qualifiers on the command line.
|