Top
||
Section Contents
||
Permuted Index
SavaJe OS
1.1.0
run execute a process with a specified environment
run [-bg] [-nocl] [-nosm] [-noverify] [-g] [name
=value
]app
[args...]
Start the Java application app
from the shell.
The application specified here should be either the name of
a Java class (without the .class
extension) that
contains a main()
method or the
name of a jar file (with the .jar
extension).
In the case of a jar file, the main()
method should be
located either in a class whose name is the same as the jar
file name or in a class specified in the META-INF/MANIFEST
file with a Main-Class:
attribute.
At application run time, shell variables can be created or set by using
name
=
value
with the run
command.
These shell variables are in effect only for the life of
the application being run.
This is the equivalent of the Java command line idiom:
java -Dname=value MyClass
-bg
|
run the application in the background |
-nocl
|
use the system class loader rather than the application class loader |
-nosm
|
run the application without a security manager |
-noverify
|
do not verify the bytecode. This may be necessary for applications compiled with earlier versions of the JDK. |
-g
|
set the debug flag for the process |
% run test.awt.Notepad
Start the test.awt.Notepad
application.
% run -nosm http://blue/Hello.jar
Run the application packaged in Hello.jar
from the
http server blue
with no security manager.