Newbie Eclipse / classpath problem?

J

John Bailo

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...+thread+"main"+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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top