| Author |
Problem with starting Eclipse
|
Mike Firkser
Ranch Hand
Joined: Oct 21, 2003
Posts: 246
|
|
I just downloaded Eclipse, unzipped the files and clicked the .exe file. I got the splash screen, then an error message which refered me to logfile. Two exceptions on it are: java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory and java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler Any help will be appreciated.
|
Mike Firkser
Rutgers '84
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24057
|
|
You're trying to run Eclipse 3.x using JDK 1.3. It requires 1.4, even though the FAQ doesn't say so. Eclipse ought to check for this as soon as it starts up, but it doesn't seem to. Anyway, make sure that "java" from JDK (or JRE) 1.4.x is the first one on your path.
|
[Jess in Action][AskingGoodQuestions]
|
 |
Mike Firkser
Ranch Hand
Joined: Oct 21, 2003
Posts: 246
|
|
|
Thanks for the quick reply.
|
 |
Daniel Gee
Ranch Hand
Joined: Aug 29, 2003
Posts: 202
|
|
I have j2sdk1.4.2_07 as my JAVA_HOME and my classpath is set like:
.;C:\j2sdk1.4.2_07\bin;C:\j2sdk1.4.2_07\jre\bin;C:\j2sdk1.4.2_07\lib;C:\j2sdk1.4.2_07\lib\tools.jar;C:\j2sdk1.4.2_07\jre\lib;C:\j2sdk1.4.2_07\jre\lib\rt.jar
The JDK in my Eclipse 8.1 is j2sdk1.4.1_05. Are those two different versions of JDK going to make the Eclipse confused and fail to perform as it is supposed to?
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26193
|
|
Daniel, Eclipse will just use the first one it finds. Since they are both 1.4 versions, you should be fine. This does introduce the question of why you need/want to versions of 1.4 on your classpath. An application will only find one so the other is just taking up space. Might be time to do a little clean up.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Daniel Gee
Ranch Hand
Joined: Aug 29, 2003
Posts: 202
|
|
The Eclipse 8.1 that I have comes with its own version of JDK, which is j2sdk1.4.1_05. I already have a JDK in my machine. The JDK is j2sdk1.4.2_07.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26193
|
|
Daniel, Eclipse comes with an embedded JDK (used for auto-complete) which is in the Eclipse directory. The JRE/JDK used to run Eclipse itself can be changed.
|
 |
 |
|
|
subject: Problem with starting Eclipse
|
|
|