/sys$common/syshlp/helplib.hlb JAVA, Example *Conan The Librarian (sorry for the slow response - running on an old VAX) |
$ JAVA /CLASSPATH=(USER1$:[mydir1],[.mydir2],[.mydir3]myzip.zip,[])- /INITHEAP="10m"/MAXHEAP="20m"- /SYSTEM_PROPERTY="XXX=ZZZ" "MyTestProgram" This example executes the Java runtime interpreter on the file MyTestProgram.class. The search path USER1$:[mydir1],[.mydir2],[.mydir3]myzip.zip,[] is used to override the current setting of the CLASSPATH logical. For the duration of this execution, the system property XXX is set to ZZZ. The interpreter is run with an initial heap size of 10 megabytes. Notice that the name of the class file "MyTestProgram" must be in quotation marks to preserve the case of the spelling. Without the quotation marks, OpenVMS changes the entire string to uppercase, and the class name will not match what is in the source file.
|