Thanks, Konstantin, that was what I needed. I knew but had forgotten about the JDK having the server JRE.

Dave


On 5/29/2014 9:58 AM, Konstantin Preißer wrote:
Hi David,

-----Original Message-----
From: David kerber [mailto:dcker...@verizon.net]
Sent: Thursday, May 29, 2014 3:35 PM

I have found that under JRE 6 (haven't tested 7 for performance yet,
only functionality) that the server jvm gives me much better performance
for Tomcat than the client JVM does.

However, I can only find a 64-bit server JVM for Java 7, while in Java
6, there was both a 32-bit and 64-bit server JVM.  Is there a 32-bit
server JVM for Java 7 that I'm just not seeing?  I want to stick with
32-bit because none of my apps use anywhere enough memory to need 64-
bit
addressing, and 32-bit is supposed to reduce the memory footprint a bit
and give slightly better performance.  It also means I don't need 64-bit
ODBC DSNs, along with the 32-bit ones that some of my GUI apps need.

Thanks for any links or into...
Dave

I don't know how it is on other OSes, but AFAIK for Windows, Oracle's JDK(32-bit and 
64-bit) always contains a Server VM, whereas 32-bit JRE does not. On 64-bit JRE and JDK, 
only a Server JVM is available. However I don't know what is included in "Server 
JRE" that is also available for download.

Example output when a 32-bit JDK (Java7) and 32-bit + 64-bit JRE (Java8) is 
installed:

C:\>"C:\Program Files (x86)\Java\jdk1.7.0_60\jre\bin\java" -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) Client VM (build 24.60-b09, mixed mode, sharing)

C:\>"C:\Program Files (x86)\Java\jdk1.7.0_60\jre\bin\java" -server -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) Server VM (build 24.60-b09, mixed mode)


C:\>"C:\Program Files (x86)\Java\jdk1.7.0_60\bin\java" -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) Client VM (build 24.60-b09, mixed mode, sharing)

C:\>"C:\Program Files (x86)\Java\jdk1.7.0_60\bin\java" -server -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) Server VM (build 24.60-b09, mixed mode)


C:\>"C:\Program Files (x86)\Java\jre8\bin\java" -server -version
Error: missing `server' JVM at `C:\Program Files 
(x86)\Java\jre8\bin\server\jvm.dll'.
Please install or use the JRE or JDK that contains these missing components.

C:\>"C:\Program Files\Java\jre8\bin\java" -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)


Regards,
Konstantin Preißer


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to