"could not create the java virtual machine" when install Eclipse 4.0.1 IDE
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
Comments
Thanks John. I have passed this info to the user to have a try now.
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
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
Thanks for the info.
There is no Java_home variable available(see another comment with the env info in PATH). Since the install fails at 70-80% install when there is no eclipse.ini created yet, I don't think we can point JVM to another JRE/JDK. We are installing RTC-Client-401.zip and it fails. Are we able to install Sun JDK/JRE6.0 Update 23+ and then create JAVA_HOME and point to the Sun JRE Path and then try to install again? It puzzles me why it complains JVM issue as the install is not completed yet. Does that mean Install also need JVM? If yes, which file can we check with(so that we can point to other JRE/JDK)?
Hello,
IBM Installation Manager which you are using to install Eclipse is also Eclipse (java) based application. Moreover it might run another Java processes during work.
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:
- Start Command Prompt (Start > Run type cmd )
-
Change directory to where Installation Manager is installed.
For example, C:\Program Files\IBM\Installation Manager\eclipse -
Start Installation Manager using this command:
IBMIM.exe -vmargs -Dcic.doNotInitialize=true -Xquickstart -Xgcpolicy:gencon
- Install/update product as usual
- This will install/update product normally.
- The main difference is that it will skip eclipse initialization.
- Because of that, the first startup of the product will take longer.
- Should not have functional impact.
- With this change, you can update eclipse.ini manually after the install/update to update -Xmx option to workaround the memory issue.
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
Thanks for the suggestion.
The env info does not seem to have much info related to JDK except F:\StudySoftware\JDK\bin.
What I dont understand is why Eclipse install failure when referring to JVM in the log which was not installed yet(only P2 and Configuration folders are seen when the error pops up.
==
C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;F:\StudySoftware\JDK\bin;F:\StudySoftware\Rose\common;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
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..
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>