Newbie Eclipse / classpath problem?




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


.



Relevant Pages

  • Re: WMIPRVSE LOCKS My System...How Can I Fix it?
    ... If you enter "WMIPRVSE.EXE" into Google, you get hundreds of hits - most of then describe some sort of system slowdown. ... I went into SYSTEM INFORMATION and looked under "RUNNING TASKS" and matched the time of the last freeze to a file called WMIPRVSE.EXE. ... The Knowledge Base isn't any good because those fixes are only for Windows SERVER and I am NOT running that. ... I don't want to call Microsoft and pay for someone I can't understand to try and fix it. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Apple make James Taylor happy
    ... there's still no local attack surface except in the vanishingly rare ... DNS cache poisoning. ... they eventually fix the server properly of course). ... and when is that rude O'Shea't going to learn to use Google to check ...
    (uk.comp.sys.mac)
  • Re: Biologist sacked for questioning evolution. (For Chris)
    ... Bill Gates (Outlook Express) and Google are not compatible. ... Anyone using OLE can have this problem with google postings, ... Can John S. fix it? ...
    (talk.origins)
  • Re: Biologist sacked for questioning evolution. (For Chris)
    ... Bill Gates (Outlook Express) and Google are not compatible. ... reason do not allow set quote indents to work properly. ... Can John S. fix it? ...
    (talk.origins)
  • Re: Olympus - What to do?
    ... >everyone hears (for the umpteeth time) what a bunch of rotters Olympus ... Note, they said they would fix it under warranty, then tried to ... charge for a warranty repair. ... Then the OP posted from Google. ...
    (rec.photo.digital)