Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » newbie launch problem, config question
newbie launch problem, config question [message #158786] Wed, 19 November 2003 05:37 Go to next message
Eclipse UserFriend
Originally posted by: dks.spies.com

I am very new to eclipse... if there is a more appropriate
forum for this question, pls inform me...

I am looking for a clue, such as how to debug this sort of
problem. Any brief pointer would be appreciated...


Upon start up with the following command (on Linux dist RH9):

/opt/eclipse/eclipse \
-data /home/dks/workspace \
-vm /usr/java/j2sdk1.4.2_01/bin/java


I get the following in the log file in .metadata:

!SESSION ------------------------------------------------------------ ----------
!ENTRY org.eclipse.core.launcher 4 0 Nov 19, 2003 02:11:22.621
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ExceptionInInitializerError
at org.eclipse.core.internal.plugins.RegistryLoader.processMani festFile(RegistryLoader.java:89)
at org.eclipse.core.internal.plugins.RegistryLoader.processPlug inPathFile(RegistryLoader.java:136)
at org.eclipse.core.internal.plugins.RegistryLoader.processPlug inPathEntry(RegistryLoader.java:127)
at org.eclipse.core.internal.plugins.RegistryLoader.processMani festFiles(RegistryLoader.java:104)
at org.eclipse.core.internal.plugins.RegistryLoader.parseRegist ry(RegistryLoader.java:63)
at org.eclipse.core.internal.plugins.RegistryLoader.parseRegist ry(RegistryLoader.java:71)
at org.eclipse.core.internal.runtime.InternalPlatform.parsePlug ins(InternalPlatform.java:890)
at org.eclipse.core.internal.runtime.InternalPlatform.loadRegis try(InternalPlatform.java:834)
at org.eclipse.core.internal.runtime.InternalPlatform.loaderSta rtup(InternalPlatform.java:684)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.internal.boot.InternalBootLoader.startup(In ternalBootLoader.java:1040)
at org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:838)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
Caused by: java.lang.ClassCastException
at org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:95)
at org.eclipse.core.internal.plugins.PluginParser.initializePar ser(PluginParser.java:80)
at org.eclipse.core.internal.plugins.PluginParser.<clinit>(PluginParser.java:44)
... 23 more
Re: newbie launch problem, config question [message #159728 is a reply to message #158786] Thu, 20 November 2003 16:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dks.spies.com

As a follow up to my own post. Maybe it help someone later.
Also, if anyone with eclipse experience wants to comment on
"a better way", then I am all ears...

My error was caused from something I installed after the Sun RPM
installation was complete. That is, in the directory:

/usr/java/j2sdk1.4.2_01/jre/lib/ext

the default installation results in these files (on my system RH9):

dnsns.jar
ldapsec.jar
localedata.jar
sunjce_provider.jar

Evidently, I should not install (in this directory) any old library
obtained from the net. I assume a better way would have been to install
them in my home directory and use a CLASSPATH variable. The only thing I
can conclude is that one of these files was the one that disagreed with
the Eclipse startup process. Did I cause a specific conflict with a
library that is included as part of the eclipse distribution?

Here are the files I installed after java was installed:

avalon-framework-cvs-20020806.jar
batik.jar
bsf.jar
fop.jar
xalan-2.4.1.jar
xercesImpl-2.2.1.jar
xml-apis.jar
xmlParserAPIs.jar

Everything is working fine after removing the RPM and installing it again.
I suppose I could have just deleted the offending files in the ext
directory, however I wanted to feel that "clean-install feeling". :)


Cheers
DK

(also, if their is a more appropriate newsgroup, pls net me know)
Re: newbie launch problem, config question [message #159738 is a reply to message #159728] Thu, 20 November 2003 16:35 Go to previous message
Eclipse UserFriend
Your problem was including Xerces in the ext directory.
You can see https://bugs.eclipse.org/bugs/show_bug.cgi?id=36643 for more
details

Darins

"DK Smith" <dks@spies.com> wrote in message
news:pan.2003.11.20.21.15.13.276909@spies.com...
>
> As a follow up to my own post. Maybe it help someone later.
> Also, if anyone with eclipse experience wants to comment on
> "a better way", then I am all ears...
>
> My error was caused from something I installed after the Sun RPM
> installation was complete. That is, in the directory:
>
> /usr/java/j2sdk1.4.2_01/jre/lib/ext
>
> the default installation results in these files (on my system RH9):
>
> dnsns.jar
> ldapsec.jar
> localedata.jar
> sunjce_provider.jar
>
> Evidently, I should not install (in this directory) any old library
> obtained from the net. I assume a better way would have been to install
> them in my home directory and use a CLASSPATH variable. The only thing I
> can conclude is that one of these files was the one that disagreed with
> the Eclipse startup process. Did I cause a specific conflict with a
> library that is included as part of the eclipse distribution?
>
> Here are the files I installed after java was installed:
>
> avalon-framework-cvs-20020806.jar
> batik.jar
> bsf.jar
> fop.jar
> xalan-2.4.1.jar
> xercesImpl-2.2.1.jar
> xml-apis.jar
> xmlParserAPIs.jar
>
> Everything is working fine after removing the RPM and installing it again.
> I suppose I could have just deleted the offending files in the ext
> directory, however I wanted to feel that "clean-install feeling". :)
>
>
> Cheers
> DK
>
> (also, if their is a more appropriate newsgroup, pls net me know)
>
>
Previous Topic:Popup in Java editor (newbie - simple) Please ?
Next Topic:eclipse 2.1.1 crashes on RedHat 9
Goto Forum:
  


Current Time: Thu May 01 15:12:37 EDT 2025

Powered by FUDForum. Page generated in 0.02830 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top