"could not create the java virtual machine" when install Eclipse 4.0.1 IDE
We have 10+ Win 7 32bit (4.0GB memory) machines and want to install VS client IDE(for 2010) or Eclipse 4.0.1 client. We have two machines got problem. On both problematic machines, MyEclipse 9.0 was installed and removed(no entry in class path and no existing folders related to myeclipse), machine restarted and then thick clients are installed.
On one machine, when install Eclipse client 401, we see it throw "could not create the java virtual machine" in 70-80% progress and install failed. On another machine, we installed VS2010 client IDE and no problem in installation. But when creating repository connection, it throws: === ScmUI: Unable to register the event listener com.ibm.team.filesystem.common.FSDaemonConnectionException: start SCM program on _no_cfa(E:\Digital\IBM\Rational Team Concert Client for Microsoft Visual Studio IDE\3rd Party\scmtools\eclipse\scm.exe)Error in thread "main" java/lang/Error: bootstrap error, system property access before init: com.ibm.IgnoreMalformedInput ......JVMJ9VM015W Initialization error for library jclscar_24(14): JVMJ9VM009E J9VMDllMain failed Scm: Failed to create the Java Virtual Machine. == This seems to us it's the same cause as Eclipse install error. Since the machine both had MyEclipse installed(uninstalled now)previously, I suspect this could be related as all other machines have no problem. My questions are: 1) In VS 2010, is there any place for us to specify the JVM similar I can specify in Eclipse.ini file? 2) It seems that MyEclipse is causing the problem. How do we clean uninstall MyEclipse so that it won't affect Eclipse client IDE install? Or is there any way for us to workaround the install error so that we can try to specify other JVM in eclipse.ini afterwards? Thank you very much for any inputs. |
Accepted answer
Hi Dong,
The same error has recently been identified as an IBM JVM defect.
Cause: Invalid UTF-8 input makes the Java VM to access system properties before fully initialized that results in exception.
This defect will be fixed in: 6.0.0 SR14, 6.0.1 SR6, 7.0.0 SR5.
For the details, please take a look at http://www-01.ibm.com/support/docview.wss?uid=swg1IV38386
As a quick verification, you may launch Eclipse client 401 by pointing other JVM (i.e. alter -vm section in the eclipse.ini ) installed in the machine.
e.g.
-vm
F:\StudySoftware\JDK\bin\javaw.exe
Hope it helps.
Don Yang selected this answer as the correct answer
Comments
Don Yang
commented May 20 '13, 11:14 p.m.
Thanks John. I have passed this info to the user to have a try now.
Don Yang
commented Sep 02 '13, 1:21 a.m.
If you can use plain zip Eclipse client, then there is eclipse.ini file for you. Otherwise, if you want to try with Installation Manager, you may try to go to Installation Manager's installed dir\eclipse\IBMIM.ini file and then point the -vm to other JRE and try again.
|
4 other answers
Hello Dong,
Your issue regarding Initialization error is known issue: http://www-01.ibm.com/support/docview.wss?uid=swg1IZ52251 You need to check your JAVA_HOME variable and what java is included in PATH variable. You can change your java in eclipse.ini file: http://wiki.eclipse.org/Eclipse.ini#-vm_value:_Windows_Example (this last tip indicates at least for Eclipse issue) Could you also let us know at which stage of installation you have this error? Also as a work around you can try out of the box RTC version: https://jazz.net/downloads/rational-team-concert/releases/4.0.2/RTC-Client-Win-4.0.2.zip let us know if it works for you. Let us know if any of these tips helped you. Comments
Don Yang
commented Apr 24 '13, 11:58 p.m.
Thanks for the info.
Krzysztof Kaźmierczyk
commented Apr 25 '13, 2:31 a.m.
Hello,
|
I found this technote
http://www-01.ibm.com/support/docview.wss?uid=swg21410196 It isn't a problem installing eclipse but it is related to using installation manager. Here's the workaround from that document: WORKAROUND: If your machine can allocate more than 512MB of continuous heap space, here is one workaround that can allow install/update to complete:
|
Hello,
my guess is, that some global or user specific environment variables are set, which are picked up by the RTC JVM. Some tools set global Options like JDK Home, bootclasspath option, JAVA_OPTIONS. When you dump the environment variables with set on the command line window it should be visible. Best Regards, René Comments
Don Yang
commented Apr 24 '13, 11:54 p.m.
Thanks for the suggestion.
Don Yang
commented Apr 25 '13, 2:25 a.m.
When uninstalling VSclient 4.0.1 and install 4.0.0 VS client, creating repository connection works. I don't really know what happens and how to get VS401 work for 401 server even though VS4.0 client is compatible with 401 server. Installing Eclipse 4.0.1 client still have problem..
|
Thanks for the prompt suggestions. will have a check.
BTW, the log shows in Eclipse install as below. It seems to have the same error as in VS == JVMJ9VM015W Initialization error for library jclscar_24(14): JVMJ9VM009E J9VMDllMain failed === It seems to points to Eclipse's own: C:\Program Files\IBM\TeamConcert\jdk\jre\bin\javaw.exe not sure why it does not work ***** <method>doReconcile</method> <message>C:\Program Files\IBM\TeamConcert\eclipse.exe -application org.eclipse.equinox.p2.reconciler.application -product org.eclipse.equinox.p2.reconciler.dropins.product -nosplash --launcher.suppressErrors -vmargs -Xms100m -Xmx512m -Dosgi.requiredJavaVersion=1.5 -Dosgi.bundlefile.limit=100 -Dorg.eclipse.equinox.simpleconfigurator.exclusiveInstallation=false -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=C:\Program Files\IBM\TeamConcert\configuration\org.eclipse.update\com.ibm.cic.bootstrap.repository -Declipse.p2.verifyPlan=false </message> </entry> <entry num='133' time='1366789983390' elapsed='09:42.45' level='ERROR' thread='Worker-1'> <logger>com.ibm.cic.agent.internal.eclipseAdapter.platformConfiguration.manipulator.ConfigurationEditor</logger> <method>doReconcile</method> <message> <key>Eclipse p2 协调程序:{0} </key> <arg>线程 "main" 中发生异常java/lang/Error: bootstrap error, system property access before init: com.ibm.IgnoreMalformedInput 位于 java/lang/System.getProperty(System.java:416) 位于 java/lang/System.getProperty(System.java:388) 位于 java/lang/Boolean.getBoolean(Boolean.java:232) 位于 sun/security/action/GetBooleanAction.run(GetBooleanAction.java:72) 位于 sun/security/action/GetBooleanAction.run(GetBooleanAction.java:51) 位于 java/security/AccessController.doPrivileged(AccessController.java:228) 位于 com/ibm/misc/IOConverter.toIgnoreMalformedInput(IOConverter.java:59) 位于 com/ibm/misc/IOConverter.convert(IOConverter.java:173) 位于 java/lang/StringCoding.decode(StringCoding.java:518) 位于 java/lang/String.<init>(String.java:241) 位于 com/ibm/oti/util/Util.toString(Util.java:49) 位于 java/lang/System.getPropertyList(本机方法) 位于 java/lang/System.ensureProperties(System.java:273) 位于 java/lang/System.afterClinitInitialization(System.java:134) 位于 java/lang/Thread.initialize(Thread.java:323) 位于 java/lang/Thread.<init>(Thread.java:124) JVMJ9VM015W 在库 jclscar_24(14) 中发生初始化错误 JVMJ9VM009E J9VMDllMain 失败 Eclipse: Java was started but returned exit code=1 C:\Program Files\IBM\TeamConcert\jdk\jre\bin\javaw.exe -Xms100m -Xmx512m -Dosgi.requiredJavaVersion=1.5 -Dosgi.bundlefile.limit=100 -Dorg.eclipse.equinox.simpleconfigurator.exclusiveInstallation=false -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=C:\Program Files\IBM\TeamConcert\configuration\org.eclipse.update\com.ibm.cic.bootstrap.repository -Declipse.p2.verifyPlan=false -jar C:\Program Files\IBM\TeamConcert\\plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar -os win32 -ws win32 -arch x86 -launcher C:\Program Files\IBM\TeamConcert\eclipse.exe -name Eclipse --launcher.library C:\Program Files\IBM\TeamConcert\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222\eclipse_1312.dll -startup C:\Program Files\IBM\TeamConcert\\plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar -exitdata 870_50 -install C:\Program Files\IBM\TeamConcert -application org.eclipse.equinox.p2.reconciler.application -product org.eclipse.equinox.p2.reconciler.dropins.product -vm C:\Program Files\IBM\TeamConcert\jdk\jre\bin\javaw.exe -vmargs -Xms100m -Xmx512m -Dosgi.requiredJavaVersion=1.5 -Dosgi.bundlefile.limit=100 -Dorg.eclipse.equinox.simpleconfigurator.exclusiveInstallation=false -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=C:\Program Files\IBM\TeamConcert\configuration\org.eclipse.update\com.ibm.cic.bootstrap.repository -Declipse.p2.verifyPlan=false -jar C:\Program Files\IBM\TeamConcert\\plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar </arg> </message> |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.