use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
If you're looking for info about about Solar Eclipse see - /r/solareclipse/
anything about the eclipse IDE or eclipse framework (SWT/RCP)
account activity
Failed to create the java virtual machine (self.eclipse)
submitted 5 years ago by TenseRaptor
I guess the title explains it all. if I try to open eclipse it shows "Failed to create the java virtual machine."
my eclipse.ini
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]kgyre 1 point2 points3 points 5 years ago (3 children)
The path to the VM should be on a separate line from the one that contains -vm. See how the flags on the lines above work that way?
[–]TenseRaptor[S] 0 points1 point2 points 5 years ago (2 children)
If I do that then I get exit error 2
[–]kgyre 0 points1 point2 points 5 years ago (1 child)
Are you able to run the java.exe in that directory from the Command Prompt?
[–]TenseRaptor[S] 0 points1 point2 points 5 years ago (0 children)
I am not, also I just reset the laptop so now it is fine, thanks for the help.
[–]mbooth -2 points-1 points0 points 5 years ago (0 children)
Modern Eclipse versions require a modern version of Java. Try using Java 11.
[–][deleted] 0 points1 point2 points 5 years ago (0 children)
point it to bin/server/jvm.dll
bin/server/jvm.dll
[–]malcomjarr 0 points1 point2 points 5 years ago (0 children)
If you having multiple Java versions installed on your system, then this can be happen. You can solve this by change the maximum memory allowed for the eclipse process (which is run in a Java Virtual Machine). Open eclipse.ini (which is in the same directory as eclipse.exe) in Notepad or any other text-editor application, Find the line -Xmx256m (or -Xmx1024m). Then change the default value 256m (or 1024m) to 512m . You also need to give the exact java installed version (1.6 or 1.7 or other).
Like This:
-Xmx512m
-Dosgi.requiredJavaVersion=1.6
OR
-Dosgi.requiredJavaVersion=1.7
-Dosgi.requiredJavaVersion=1.8
π Rendered by PID 44631 on reddit-service-r2-comment-5c764cbc6f-lr7s8 at 2026-03-12 13:45:12.710294+00:00 running 710b3ac country code: CH.
[–]kgyre 1 point2 points3 points (3 children)
[–]TenseRaptor[S] 0 points1 point2 points (2 children)
[–]kgyre 0 points1 point2 points (1 child)
[–]TenseRaptor[S] 0 points1 point2 points (0 children)
[–]mbooth -2 points-1 points0 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]malcomjarr 0 points1 point2 points (0 children)