when i run eclipse and operate it the eclipse is often auto close and open a error dialog on which say: JVM terminated. Exit code=1 C:\windows\system32\javaw.exe -cp c:\eclipse\startup.jar org.eclipse.core.launcher.Main -os win32 -ws win32 -arch X86 -showplash D:\eclipse\eclipse.exe -showsplash 600 why? any idea how to solve?
posted 11 years ago
You don't have your Java runtime set up correctly (because the Eclipse launcher is trying to use the Microsoft JVM, C:\windows\system32\javaw.exe). Make sure you've got JAVA_HOME environment variable set to point to your J2SE installation.