Java application programs frequently come with installer and instructions. Occasionally,
it may be distributed as a JAR file. JAR stands for Java ARchive and is used
for aggregating many files into one.
PC
1. You need to install an application launcher, for example
Java 2 Runtime Environment.
2. If you installed Java 2 using the default path (i.e, c:\windows\system or c:\winnt\system32),
you can run an application using the following commands in MS-DOS:
java -jar
or
javaw -classpath
Mac OSX
Java 2 is included in Mac OSX. Run a jar application using the following commands
in the Terminal window (applications/utilities):
java -jar
or
javaw -classpath
|