[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.ve] Re: java.lang.NoClassDefFoundError and java.lang.IllegalAccessException

Jeff,

Many thanks for this reply, but I am not trying to run standalone SWT -- I am trying to run a simple JFace application under Eclipse 3.1.1, by using Run-->Run As-->SWT Application from with the Eclipse Java editor.  

The application is actually the very first JFace sample program on page 25 of "SWT/JFace in Action" by Scarpino, Holder, Ng and Mihalkovic, about as simple a JFace app as you can find.  It compiles clean but when I run it, I get the UnsatisfiedLinkError.  

I can understand if the way of packaging the jar files and the DLL has changed since this book was published (early 2005), in which case the instructions given in the book for including the OS-specific DLL may have become out of date, but when documentation of what has been changed, and the new way to install it, do not appear ANYWHERE in the accompanying material of Eclipse 311 or SWT 311, it does start to look as if there is a secret society with restricted membership.

Chris

p.s.  Being a 4-year user of WSAD and more recently RAD6, I guess I have become somewhat insulated from the real world where this stuff has to be done by hand -- I am now used to a cushy world where you can write a complete J2EE/JSP/SQL app from soup to nuts without ever needing to define any OS-native stuff.  I guess I need to remember my OS/2 C-language days from 10 years ago.