Which vm is really running? [message #244210] |
Fri, 28 December 2007 23:56  |
Eclipse User |
|
|
|
Originally posted by: ihatespam.hotmale.com
I have a few JDKs (1.4,1.5,1.6) installed and I'm trying to tell eclipse
(3.3) to run on the 1.5 version. I put the -vm in my Eclipse.ini file as
this:
**ECLIPSE.INI
-clean
-showsplash
com.genuitec.myeclipse.product
--launcher.XXMaxPermSize
256m
-vm C:\DevTools\Java\1.5.0_12\bin
-vmargs
-Xms512m
-Xmx512m
-Dosgi.splashLocation=C:\DevTools\MyEclipse\eclipse\MyEclips eSplash.bmp
-Duser.language=en
-XX:PermSize=512M
-XX:MaxPermSize=512M
I see in the IDE that its picking up the memory args (though it reads 508M
max), but when I look at the config info I see this (among other things):
(...)
-clean
-vm C:\DevTools\Java\1.5.0_12\bin
-vm
C:\Program Files\Java\jre1.6.0_03\bin\client\jvm.dll
(...)
eclipse.vm=C:\Program Files\Java\jre1.6.0_03\bin\client\jvm.dll
eclipse.vmargs=-Xms512m
-Xmx512m
-Dosgi.splashLocation=C:\DevTools\MyEclipse\eclipse\MyEclips eSplash.bmp
-Duser.language=en
-XX:PermSize=512M
-XX:MaxPermSize=512M
(...)
java.home=C:\Program Files\Java\jre1.6.0_03
(...)
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_03-b05
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_03
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=1.6.0_03-b05
(...)
My PATH is set as:
D:\databases\Oracle10g\home\bin;%SystemRoot%\system32;%Syste mRoot%;%SystemRoot%\System32\Wbem;C:\Program
Files\ATI Technologies\ATI Control Panel;C:\Program
Files\QuickTime\QTSystem\;c:\Program Files\Microsoft SQL
Server\80\Tools\Binn\;c:\Program Files\Microsoft SQL
Server\90\Tools\binn\;C:\Program Files\Java\jre1.5.0_12\bin;C:\Program
Files\ATI Technologies\ATI.ACE\
My JAVA_HOME is:
C:\Program Files\Java\jre1.5.0_12
My CLASSPATH is:
;C:\Program Files\Java\jre1.6.0_02\lib\ext\QTJava.zip
Any idea how to tell what's really running? How can I make sure that its
only running 1.5, but keep the 1.6 JDK around to compile and test against?
Thanks!!
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.13707 seconds