• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Questions on HotSpot

 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic