Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321272 - Virtual Machine not Found error
Summary: Virtual Machine not Found error
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 critical with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2010-07-29 17:27 EDT by Aneesh CLA
Modified: 2012-12-11 10:14 EST (History)
6 users (show)

See Also:


Attachments
Error Popup (43.03 KB, image/jpeg)
2010-07-29 17:28 EDT, Aneesh CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aneesh CLA 2010-07-29 17:27:18 EDT
Build Identifier: 

Hi all, 

Just downloaded exclipse and trying to run it but I keep getting the following error:

Java was started but returned exit code=1
C:\jdk1.6.0_21\bin\javaw.exe
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar C:\Eclipse\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os win32
-ws win32
-arch x86
-showsplash
-launcher C:\Eclipse\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\Eclipse\eclipse\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503\eclipse_1307.dll
-startup C:\Eclipse\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata 2ee8_134
-product org.eclipse.epp.package.java.product
-vm C:\jdk1.6.0_21\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar C:\Eclipse\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar

Reproducible: Always

Steps to Reproduce:
1.Download Eclipse
2.Click eclipse.exe
3.Error pops-up
Comment 1 Aneesh CLA 2010-07-29 17:28:56 EDT
Created attachment 175531 [details]
Error Popup
Comment 2 Stephan Herrmann CLA 2010-07-29 17:55:47 EDT
Seeing your "-XX:MaxPermSize=256m" vm argument I assume you have seen the
warning re jdk1.6.0_21 (from Oracle) and applied the steps in 
  http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F#Oracle.2FSun_VM_1.6.0_21_on_Windows

However, the error message you quote has some funny duplication.
So perhaps you may want to send your eclipse.ini for double checking?
Comment 3 Olivier Thomann CLA 2010-07-29 20:32:39 EDT
Move to Platform/UI
Comment 4 Remy Suen CLA 2010-07-30 08:58:21 EDT
(In reply to comment #0)
> 1.Download Eclipse

Which download did you get? What is its name?
Comment 5 Andrew Niefer CLA 2010-07-30 10:24:08 EDT
(In reply to comment #2)
> Seeing your "-XX:MaxPermSize=256m" vm argument I assume you have seen the
> warning re jdk1.6.0_21 (from Oracle) and applied the steps in 
>  
> http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F#Oracle.2FSun_VM_1.6.0_21_on_Windows
> 
> However, the error message you quote has some funny duplication.
> So perhaps you may want to send your eclipse.ini for double checking?

That duplication is normal, the launcher sends the vmargs to the jre on the command line before the -jar, at the end of the command line the -vmargs are passed again to eclipse as program args so that the running eclipse knows what vmargs were used for the launch.  They show up in the system property "eclipse.vmargs" add will be used for restarts.
Comment 6 Szymon Ptaszkiewicz CLA 2012-12-11 10:14:24 EST
I am not able to reproduce. Closing. Please do reopen if you see this error again.