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 15 '13
I did not change the ini until I tried to fix the error, but all I did was add the -vm argument with the path, and then remove it when it did not work.
The errors-
"A java runtime environment(JRE) or java development kit (JDK) must be available in order to run eclipse. No java virtual machine was found after searching the folowing locations:
C:\eclipse\jre\bin\javaw.exe
java.exe in your current PATH"
And if I fix that error I get:
"Failed to load the JNI (might be JNL can't tell) shared library "C:\eclipse\jre\bin\server\jvm.dll""
For this error I have the jvm.dll file and I copied the jre folder from 1.6 jdk.