Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Questions on HotSpot

 
Asuthosh Borikar
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a couple of questions about hotspot.
1) I am forced to use JDK1.2.2. I understand that hotspot is the default VM for JDK1.3, but how can I get hotspot for the java version I am using(if one is available at all).
2) I understand the -server and the -client options for java, but what does the option -hotspot itself mean? And if it invokes the HotSpot JVM, will it be running in Server mode or Client mode?
I am using JDK1.2.2 on Solaris. Any help will be appreciated. Thanks.
 
Thomas Smets
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Partial answer :-)
2) I understand the -server and the -client options for java, but what does the option -hotspot itself mean? And if it invokes the HotSpot JVM, will it be running in Server mode or Client mode?
I am using JDK1.2.2 on Solaris. Any help will be appreciated.

As far as I remember : Server = HotSpot
 
Ethan Henry
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Thomas SMETS:
Partial answer :-)

As far as I remember : Server = HotSpot

Unfortunately, no.
In JDK 1.2, you had your choice between the Classic VM and HotSpot Client.
HotSpot == Client
In JDK 1.3 and 1.4 -client and -hotspot do the same thing, per the help that comes up when you run java.exe without any arguments...

D:\temp>java -hotspot
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic