> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat and -server option
> 
> > Is there a way to make sure that my JVM is taking 
> > the -server flag into consideration?
> 
> I'm not aware of a programmatic way to verify this.

The Java property java.vm.name (use System.getProperty("java.vm.name") to 
retrieve it) contains either "Java HotSpot(TM) Server VM" or "Java HotSpot(TM) 
Client VM" when using Sun JVMs.  Other vendors will, of course, set this 
property differently.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to