Reputation: 13
I wanted to Start Java Programming on Eclipse.. I ran into this problem when trying to run Eclipse, having installed latest Version.. I tried Googling The issue but didnt Found out answers For the same.
Problem:
Eclipse Craches with the Following Error
JVM terminated.Exit Code=2
C:\ProgramData\Oracle\Java\javapath\javaw.exe
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-jar C:\eclipse\\plugins/org.eclipse.quinox.launcher_1.3.0v20140415-2008.jar
-os win32
-ws win32
-arch x86_64
-showsplash
C:\eclipse\\plugins\org.eclipse.platform_4.4.0.v20140925-0400\splash.bmp
-launcher C:\eclipse\eclipse.exe
-name Eclipse
--launcher.library
C:\eclipse\\plugins/org.eclipse.quinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 1a54_58
-product org.eclipse.epp.package.java.product
-vm C:\ProgramData\Oracle\Java\javapath\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-jar C:\eclipse\\plugins/org.exlipse.quinox.launcher_1.3.0.v20140415-2008.jar
Can someone please guide me how to solve this specific problem?I Had To Start With My Java Programming But This Error has Halted me .... Please Help...
Upvotes: 1
Views: 10410
Reputation: 30
Uninstall Java; Delete all version of java on your machine. Download the latest version and install it. This worked for me.
Upvotes: 2
Reputation: 11
Path under environment variable is referring to incorrect version of java, do check whole path properly, sometimes "javapath" term is also mentioned under referring to incorrect version of java sdk. So simply remove that incorrect reference and It would work fine.
Upvotes: 1