• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do we have java hot spot 32 bit SERVER edition

 
Sanju Thomas
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do we have java hot spot 32 bit SERVER edition ??
 
Campbell Ritchie
Sheriff
Pie
Posts: 49367
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've never heard that there is a difference between JREs on servers and on clients. So, I think not.
 
Carey Evans
Ranch Hand
Posts: 225
Debian Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If Sanju is referring to the difference between the JVMs selected by the -client and -server command line options, then the 32-bit server JVM is available as part of the JDK:
 
Sanju Thomas
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you all.. Does it mean that when I start my program using "java -server program_name" it starts as a server VM ?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
 
Henry Wong
author
Marshal
Pie
Posts: 21185
80
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BTW, the difference between using "-server" and "-client" is with the JIT compiler. With the "-client" option, the JVM will JIT the class files as soon as it is loaded. WIth the "-server" option, the JVM will stay with the interpreter gathering information about the class, usage patterns, etc. Then later, the JVM will JIT the class files, using the profiling information that it gather to optimize it.

Henry
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sanju Thomas:
Thank you all.. Does it mean that when I start my program using "java -server program_name" it starts as a server VM ?


Not necessarily. The JRE version you are using will have to have the server jvm.dll installed with it. The standard Windows JRE doesn't. You need to use the JRE that is bundled with the JDK if you want to use the -server option on Windows.
 
Peter Lawrey
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With Linux and Solaris, -server is a default option.
 
Sanju Thomas
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic