This section provides you a tutorial example on how to run Java HotSpot Server VM - run Java command with -server option: 'java -server'.
The following notes were taken in 2007.
After installing JDK 6u2, the Java HotSpot Server VM should be available on my machine.
To verify this, run the following command
in a command window:
C:\>\progra~1\java\jdk1.6.0_02\bin\java -server -version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
Java HotSpot(TM) Server VM (build 1.6.0_02-b06, mixed mode)
The last line of the output tells you that the Java HotSpot Server VM installed ok.
And you have to use the "-server" option to invoke it.
The following notes were taken in 2004.
I have just downloaded and installed j2sdk1.4.0_02 on my machine, so the Java HotSpot
Server VM should be available on my machine. To verify this, run the following command
in a command window:
\local\j2sdk1.4.0_02\bin\java -server -version
Output
java version "1.4.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_02-b02)
Java HotSpot(TM) Server VM (build 1.4.0_02-b02, mixed mode)
The last line of the output tells you that the Java HotSpot Server VM installed ok.
And you have to use the -server option to invoke it.