I had no problems to start Eclipse 2.1..
Now i get Eclipse 3.0, but if I start I get the message
"An error occurred. See the log file ..."
In the log file this text appears:
"java.lang.ClassNotFoundExeception:
javax.xml.parseres.SAXParserFactory
at java ...
...
java.lang.oClassDefFoundError:
org/xml/sax/helpers/DefaultHandler
at java ...
..."
Before the start of eclipse 2.1 I installed Java 2 Enterprise Edition .
Because eclipse 3.0 doesn't start I thought it could be that the Java Runtime Environment is not
included in the Java 2 Enterprise Edition and so I installed Java 2 Runtime Environment
(j2re-1_4_2_04-windows-i586-p.exe). But the same error appears if I start Eclipse 3.0.
Who nows what to do ?
Ernst Schmidt
> I had no problems to start Eclipse 2.1..
> Now i get Eclipse 3.0, but if I start I get the message
[quoted text clipped - 3 lines]
> javax.xml.parseres.SAXParserFactory
> at java ...
[snip]
> Before the start of eclipse 2.1 I installed Java 2 Enterprise Edition .
> Because eclipse 3.0 doesn't start I thought it could be that the Java Runtime Environment is not
> included in the Java 2 Enterprise Edition and so I installed Java 2 Runtime Environment
> (j2re-1_4_2_04-windows-i586-p.exe). But the same error appears if I start Eclipse 3.0.
>
> Who nows what to do ?
I'm not 100% sure, as I've not made the leap to 3.0 yet. However, it sounds
like a 2.1.3 problem I've seen before.
Make sure you're starting Eclipse with the right JRE. Make a shortcut to the
Eclipse executable and then set the prefs on the shortcut so that the field
"Target" contains the following string (along with the command to launch
Eclipse). Of course, you have to set the values to be the paths on your
system for Eclipse and the 1.4 JRE.
C:\eclipse\eclipse.exe -vm C:\j2sdk1.4.2_04\jre\bin\javaw
Hope this helps.
By the way, you can also add a "-data xxxxx" to the Target field, where
xxxxx is the path to your Eclipse workspace (as opposed to the default one
that is created with each installation). This is useful to avoid having to
copy the workspace around each time there's an update to Eclipse, or if you
use the same workspace on a shared drive from another PC, etc. Put it
somewhere outside of Eclipse's installation path.
Cris
Ernst Schmidt - 24 Jun 2004 18:18 GMT
>Hope this helps
Yes, it works. Thank you.
Ernst Schmidt