Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / June 2004

Tip: Looking for answers? Try searching our database.

[Eclipse] Problem to start Version 3.0

Thread view: 
Ernst Schmidt - 23 Jun 2004 19:59 GMT
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
Christopher Fuhrman - 24 Jun 2004 02:43 GMT
> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.