/usr/java/bin/java [options] classname [args]Solaris only. Compile and then run Java bytecode class files. By default, the compiler uses the JIT ("Just In Time") compiler for the current system. args are passed on to the Java program's main method. See also java_g.
-cs, -checksourceCompare the source code file's modification time to that of the compiled class file, and recompile if it is newer.
-classpath pathUse path as the search path for class files, overriding $CLASSPATH. path is a colon-separated list of directories.
-debugPrint a password that must be used for debugging and allow jdb to attach itself to the session. (See jdb.)
-Dprop=valRedefine the value of prop to be val. This option may be used any number of times.
-fullversionPrint full version information.
-helpPrint a usage message.
-ms sizeSet the initial size of the heap to size, which is in bytes. Append k or m to specify kilobytes or megabytes, respectively. The default heap size is 4MB.
-mx sizeSet the maximum size of the heap to size, which is in bytes. Append k or m to specify kilobytes or megabytes, respectively. The default maximum size is 16MB. The value must be greater than 1000 bytes and greater than or equal to the initial heap size.
-noasyncgcDisable asynchronous garbage collection.
-noclassgcDisable garbage collection of Java classes.
-noverifyDisable verification.
-oss sizeSet the maximum stack size of Java code in a Java thread. Append k or m to specify kilobytes or megabytes, respectively. The default maximum size is 400KB.
-prof[:file]java_g only. Enable Java runtime profiling. Place the trace in the named file, if supplied. Otherwise, use ./java.prof.
-ss sizeSet the maximum stack size of C code in a Java thread. Append k or m to specify kilobytes or megabytes, respectively. The default maximum size is 128KB.
-tjava_g only. Trace the executed instructions.
-v, -verbosePrint a message to standard output each time a class file is loaded.
-verbosegcPrint a message every time the garbage collector frees memory.
-verifyRun the byte-code verifier on all code.
-verifyremoteRun the verifier on all code loaded via a classloader. This is the default when interpreting.
-versionDisplay version information for java.