A few days ago, I downloaded the latest version of Eclipse 3.0, unzipped into the E: / TEMP / Eclipse directory, pop up a small prompt box when starting, seeing an error in Eclipse / Configuration / next *******. Log Document. The file said:! Session € € Chain? 01, 2005 23: 16: 43.692 ---------------------------------------------------------------------------------------------------------------------------------------- ---------------- Eclipse.buildid = i200405211200java.version = 1.3.1_01java.vendor = sun microsystems Inc.bootloader constants: OS = Win32, Arch = x86, WS = Win32, NL ! = zh_CN ENTRY org.eclipse.osgi Juan € chain 01, 2005 23:? 16: 43.692 MESSAGE Error registering XML parser services STACK 0java.lang.ClassNotFoundException:!.! javax.xml.parsers.SAXParserFactory at java.net.URLClassLoader $ 1.run (Unknown Source) at java.security.AccessController.doPrivileged (Native Method) at java.net.URLClassLoader.findClass (Unknown Source) so on 9CBS posting for help, to no avail, Eclipse or unusable. even recently read King The explanation of the essays in the book gives me inspiration, and finally Eclipse ran up. Although there are several doubts, the process of solving this problem is written out with the remaining doubts.
Problem resolution:
The cause of the problem is that the virtual machine found by Eclipse is 1.3.1_01 version, and this version of JVM does not bring a class such as javax.xml.parsers.saxparserfactory.
I guess the Eclipse.exe and% java_home% / bin / java.exe in the root directory, which is the JVM that is positioned to run.
Search JVM in order, Java.exe, based on
1 Does it have JRE in your current directory (originally said that this statement is not accurate enough)
2 Does it have JRE in the parent directory?
3 Query registry (HKEY_LOCAL_MACHINE / SOFTWARE / Javasoft / Java Runtime Environmet /)
So I copied the files in the entire Eclipse directory to my% java_home% / directory, follow the saying, it will go to find% java_home% / jre to find the virtual machine under this directory, and this virtual The machine is 1.5, so that Eclipse can start normally.
doubt
The original Eclipse found JVM1.3.1_01 is the first JRE I installed the post-installation of the operating system, located in C: / Program files / IBM / JRE / 1.1 / BIN and this JRE is not registered in the registry Follow