java - Eclipse JVM on workspace switch -


does know how specify jvm eclipse launch when switches workspace? if start eclipse eclipse.ini containing:

-vm library/java/javavirtualmachines/jdk1.7.0_17.jdk/contents/home/bin/java

eclipse launches jre. console output confirms this:

5/14/13 4:01:16.932 pm [0x0-0x51b51b].org.eclipse.eclipse: eclipse.buildid=m20130204-1200 5/14/13 4:01:16.932 pm [0x0-0x51b51b].org.eclipse.eclipse: java.version=1.7.0_17 5/14/13 4:01:16.932 pm [0x0-0x51b51b].org.eclipse.eclipse: java.vendor=oracle corporation

when switch workspace though reason launches 1.6 jvm.

5/14/13 4:07:51.596 pm [0x0-0x51b51b].org.eclipse.eclipse: eclipse.buildid=m20130204-1200 5/14/13 4:07:51.597 pm [0x0-0x51b51b].org.eclipse.eclipse: java.version=1.6.0_45 5/14/13 4:07:51.597 pm [0x0-0x51b51b].org.eclipse.eclipse: java.vendor=apple inc.

this problem our plugins require 1.7 consquently fail load. on osx 10.7.5 happens on 10.8.

java_home points 1.7 jvm , /usr/bin/java symlinked 1.7 jvm. /usr/bin appears near head of path , in fact java on path. i'm guessing eclipse must assume "best" jvm 1 in /system/library/frameworks/javavm.framework/versions/current or /system/library/frameworks/javavm.framework/versions/currentjdk , points 1.6.

this bug in eclipse, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=396552

i'm not aware of work-arounds this, try setting java_jvm_version environment variable.

the bug report indicates problem has been fixed, try more recent milestone, or can try grabbing binaries attached bug.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -