This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
a error when execution!
- From: bbskill <bbkills at tom dot com>
- To: java at gcc dot gnu dot org
- Date: Fri, 05 Aug 2005 00:48:46 +0800
- Subject: a error when execution!
hello all,
I successfully compile my SWT application into native code which the
main function is edu.sysu.qftp.gui.FTPGUI.
when I execute it , the splash is show as normal ,but after that , the
error below occur:
Exception in thread "main" java.lang.NoClassDefFoundError:
edu.sysu.qftp.gui.pref.PreferencesImpl
at java.lang.Class.initializeClass (natClass.cc:690)
at edu.sysu.qftp.gui.pref.PreferencesUnmarshaller.unmarshal (QFTP)
at edu.sysu.qftp.gui.pref.PreferencesUnmarshaller.unmarshal (QFTP)
at edu.sysu.qftp.gui.preferences.Preference.load (QFTP)
at edu.sysu.qftp.gui.FTPGUI.main (QFTP)
Caused by: java.lang.NullPointerException
at java.lang.Class.initializeClass (natClass.cc:684)
...4 more
it works well as java application .
what might I did wrong ? how can I fix it ?
Thank you for your help !