Eclipse 3.6.2 failed to create the java virtual machine [message #542715] |
Fri, 25 June 2010 16:55 |
|
My environment:
WindowsXP 32bit
4Giga memory, but only 3 something Giga can be dominated by Windows 32bit
My newly downloaded Eclipse 3.6.2 failed to startup.
Actually,
1) it's working fine with the following eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v 20100503
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms40m
-Xmx256m
2) error message dialog jumps out with the following eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v 20100503
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
--launcher.defaultAction
openFile
-vmargs
-Xms40m
-Xmx1024m
However, for my application, I do need a very huge memory, at least more than 1Giga .
So, can anybody give me a hand?
I'm wondering if I don't change the settings in eclipse.ini, but set up the memory requirements in projects arguments?
Best Regards
JIA
[Updated on: Fri, 25 June 2010 16:56] Report message to a moderator
|
|
|
|
Re: Eclipse 3.6.2 failed to create the java virtual machine [message #544317 is a reply to message #542792] |
Fri, 02 July 2010 10:49 |
|
Hi, Walter Harley:
Thank you very much for your clear reply.
However, now, my eclipse.ini setting looks like:
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms128m
-Xmx1024m
But, still, a dialog jumped out to report
Failed to create Java Virtual Machine.
What should I do?
Best Regards
JIA
|
|
|
|
|
|
|
|
|
Re: Eclipse 3.6.2 failed to create the java virtual machine [message #656702 is a reply to message #656502] |
Mon, 28 February 2011 08:03 |
Mauro Molinari Messages: 285 Registered: July 2009 |
Senior Member |
|
|
Il 26/02/2011 00:12, r.gangadhar@yahoo.com ha scritto:
> OS is Windows XP 32-bit
> JVM deatils
>
> java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
It's very strange. So, let's start from the beginning. Restore the
original eclipse.ini, that should be something like this:
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1. 1.R36x_v20100810
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
Once it is started, check in Help | About Eclipse Platform |
Installation Details | Configuration that you're actually using JRE
1.6.0_22 (look at the following properties: java.version,
java.runtime.version, java.vendor, java.runtime.name and java.vn.version).
If an error occurs, post here the exact stack trace.
Mauro.
|
|
|
Re: Eclipse 3.6.2 failed to create the java virtual machine [message #656933 is a reply to message #542715] |
Tue, 01 March 2011 04:32 |
zoboff Messages: 1 Registered: March 2011 |
Junior Member |
|
|
I had a same problem
version 3.6.1
fix it:
-vm
c:\Java\jre6\bin\javaw.exe
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
c:\Java\jre6\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
[Updated on: Tue, 01 March 2011 04:58] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05320 seconds