Newbie Eclipse / classpath problem?
- From: John Bailo <jabailo@xxxxxxxxxx>
- Date: Tue, 30 Aug 2005 22:35:31 -0700
This is a response to recent post I found in this newsgroup from Google
Groups (see below).
I was able to fix this by including both the swt.jar and swt-pi.jar as
External jar libraries in the Eclipse Project settings.
http://groups.google.com/group/comp.lang.java.programmer/browse_thread/thread/4c732545538c8dec/34a67b58f24c5110?lnk=st&q=Exception+in+thread+%22main%22+java.lang.NoClassDefFoundError
+org%2Feclipse%2Fswt%2Finternal%2Fgtk%2FOS&rnum=4&hl=en&utoken=YIUOwzwAAAChVnzRiVbNNwyUcBrliyCNPQ1L4RzPjRdWta_JUQD8gaIVSSQHagRo34N1GdpKna_a91HxcR1ATDm2Bxr-G9a8
Only 1 message in topic - view as tree
Fred Aug 6 2004, 6:43 pm show options
When I attempt to run ANY of the sample application in Eclipse 3.0,
under Linux I get a NoClassDefFoundError. I checked my JRE paths
and they appear correct. This appears to be a path problem, but I
don't see where to fix it. Any suggestions would be greatly
appreciated.
Exception in thread "main" java.lang.NoClassDefFoundError :
org/eclipse/swt/internal/gtk/O S
at org.eclipse.swt.internal.Conve rter.wcsToMbcs(Converter.java:
63) at
org.eclipse.swt.internal.Conve rter.wcsToMbcs(Converter.java: 54)
at
org.eclipse.swt.widgets.Displa y.<clinit>(Display.java:118) at
org.eclipse.swt.examples.addre ssbook.AddressBook.main(Addres
sBook.java:54
)
End of messages
--
The Texeme Construct, http://www.texeme.com
360, http://360.yahoo.com/manfrommars_43
.
- Follow-Ups:
- Re: Newbie Eclipse / classpath problem?
- From: Thomas Fritsch
- Re: Newbie Eclipse / classpath problem?
- Prev by Date: Re: Getting Two Java Applets to Communicate with Each Other
- Next by Date: Re: how to detect a hard link in Java?
- Previous by thread: Adding session variables to a JAX-RPC SOAP POJO?
- Next by thread: Re: Newbie Eclipse / classpath problem?
- Index(es):
Relevant Pages
|