samedi 28 février 2015

Downloaded Java 7 Eclipse doesn't start



Ok, so I've been using eclipse Luna for a bit now with the Java 6 and all. Today, I decided it was time to update to Java 7. I did so by going to the Oracle site, downloading the Java 7 run time environment, and it said it would install. I let it install, but it told me that it detected previous versions of java (java 6) that it wanted to uninstall. I don't know a lot about the process and assumed it was fine and this probably isn't the problem anyway. But it installed, and when I tried to run things in eclipse, it gave me an error. So I restarted Eclipse. Suddenly, it wouldn't start giving me the error code 13. Then, I re installed Eclipse Luna. Now I get the same error and am worried I totally screwed up my Java. Can you help? I can also post the error report it gives me.



Java was started but returned exit code=13
C:/ProgramData/Oracle/Java/javapath/Javaw.exe
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-jar
C:/Users/Jared/Downloads/eclipse-java-luna-SR2-win32x86_64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os win32
-ws win32
-arch x86_64
-showsplash
C:/Users/Jared/Downloads/eclipse-java-luna-SR2-win32-x86_64/eclipse//plugins/org.eclipse.platform_4.4.2.v20150204-1700/splash.bmp
-launcher
C:/Users/Jared/Downloads/eclipse-java-luna-SR2-win32-x86_64/eclipse/eclipse.exe
-name Eclipse
--launcher.library
C:/Users/Jared/Downloads/eclipse-java-luna-SR2-win32-x86_64/eclipse//plugins/org.eclipse.equinox.launcher.win32.x86_64_1.1.200.v20150204-1316/eclipse_1608.dll
-startup
C:/Users/Jared/Downloads/eclipse-java-luna-SR2-win32-x86_64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 2b0_5c
-product org.eclipse.epp.package.java.product
-vm C:/ProgramData/Oracle/Java/javapath/javaw.exe
-vmargs
-Dogsi.requiredJavaVersion=1.6
Xms40m
-Xmx512m
-jar
C:/Users/Jared/Downloads/eclipse-java-luna-SR2-win32-x86_64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar


If I check my java version via command prompt, it looks like this:



C:\Users\Jared>java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode)


I have minimal knowledge on this process however, if my educated guess is right, Luna is based on 1.6-1.7 and since I apparently have 1.8.0_31, I need a more updated version.


If you know how to help, please explain thoroughly, so I can understand as much as possible Thanks in advance


-Jared.




Aucun commentaire:

Enregistrer un commentaire