Eclipse does not start after uninstalling Java and reinstalling to a new location

I reinstalled the JDK today due to the built-in space in the program file ... and now Eclipse is immediately triggered at startup. Is there a configuration file that needs updating? I tried eclipse -clean with luck nu.

+3
source share
12 answers

while eclipse requires java.exe and javaw.exe to run. so when you installed it in other places. you must specify its location in the PATH variable so that it can be used to search your JVM.

EDIT: and of course delete the old entry.

+5
source

? eclipse , jdk. , , exclipse.ini, jdk,

, - eclipse.ini

-vm
C:\jdk1.6.0_02\jre\bin\java

eclipse.ini eclipse (: eclipse.exe )

+5

, , . -vm eclipse.ini, , -vmargs.

-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-vm
C:\ibm_jdk_6\bin\javaw.exe

-vm
C:\ibm_jdk_6\bin\javaw.exe
-vmargs
+5

eclipse.ini eclipse -vm? , eclipse.

+2

, , .

. JDK. , Eclipse, . , java PATH. , , , - . , Eclipse Galileo (Build id: 20090621-0832) jdk1.6.0_021.

+2

, 64- jre 32- , , jre eclipse !

+1

eclipse; elipse

   GOTO_Eclipse_Directory > eclipse -clean

. url: http://www.coderanch.com/t/454501/vc/eclipse-exe-not-working

+1

PATH: "C:\Program Files\Java\jdk1.6.0_22\jre\bin;" .

+1

Eclipse , Java 5 Java 6. 6, . , .

0

. java- 38.... .

0

Eclipse was able to find the JRE, however it could not start because the eclipse I downloaded was 32 bits and the jdk version was 64 bits. I uninstalled 64 bit jdk and set 32 ​​bit. Eclipse Launched Successfully

0
source

You do not need to delete anything. Just go to the eclipse folder in the eclipse configuration setting and change the class path to C:\Program Files\Java\jdk-9.0.1\bin.

0
source

Source: https://habr.com/ru/post/1729004/


All Articles