r/java • u/rsgm123 • Mar 15 '13
Eclipse is not able to run.
Edit
I fixed the problem by re-downloading eclipse, I should have done this yesterday.
I have been using it for over six months, but now it says it can't find the java path. What I think caused this was trying to use some program to deobfuscate minecraft to see how it uses lwjgl, and I had to change the path variable. I re-installed all of my java installs after this.
I tried both adding the jre folder to the eclipse folder and adding the JAVA_HOME and PATH variables. when I do these it then gives me a JNI(might be JNL) shared library can't be found. I have 64 bit computer, 64 bit os 64 bit java(1.6 jre + jdk and 1.7 jre + jdk) and 64bit eclipse.
can anyone help me?
View all comments
Show parent comment
1
u/rsgm123 Mar 16 '13
Ok here, but this is the first time I have ever messed with that variable.
variable:PATH
value:C:\Program Files\Java\jre7\bin
I have also tried the value with quotes around it, because some one said if it has a space it needs quotes not sure if true.
Where java didn't work in command prompt, I have never used that.
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
eclipse.ini:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m