Reputation: 1104
My "Eclipse JEE Neon 2 64bit" can't be launch (got splash screen is a split second) just now. Not sure these thing that I did last week is the cause:
Then I download JDK 32bit of the same version. Currently my machine has both 32 and 64 bit. But still cannot launch Eclipse.
Then I did the following:
Edit eclipse.ini, add
-vm
C:\Program Files\Java\jre1.8.0_131\bin
Still cannot start Eclipse, I change to
-vm
C:\Program Files\Java\jre1.8.0_131\bin\javaw.exe
Still cannot start Eclipse, I change to
-vm
C:\Program Files (x86)\Java\jre1.8.0_131\bin
Still cannot start Eclipse, I change to
-vm
C:\Program Files (x86)\Java\jre1.8.0_131\bin\javaw.exe
Still cannot start Eclipse, I reset eclipse.ini to default and remove all 3 system variables setting (ANDROID_HOME, JAVA_HOME, Path)
Upvotes: 2
Views: 630
Reputation: 1104
Thank you guys for helping. I was able to solve. Actually I didn't know 2 things:
Not working:
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms512m
-Xmx2048m
-vm
C:\Program Files\Java\jdk1.8.0_131\bin\javaw.exe
Working:
-vm
C:\Program Files\Java\jdk1.8.0_131\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms512m
-Xmx2048m
But I'm still wondering, why before I install JDK, my Eclipse can work on JRE.
Upvotes: 1