This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Do we have java hot spot 32 bit SERVER edition  RSS feed

 
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
Posts: 55333
157
  • 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
Sheriff
Posts: 23275
125
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!