[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed running Swing apps using gij



Max Gilead wrote:
Johan Walles wrote:

I have a written a self-learning go-moku game in Java and made a
jar-file out of it.  It runs fine with SUN's java implementation.  When
I try to run it with gij-3.2 (1:3.2.1-0pre3) I get:

johan@foo:~/tabort$ gij-wrapper-3.2 -jar LearnMoku.jar
Exception in thread "main" java.lang.InternalError: unexpected exception
during linking: java.lang.ClassNotFoundException: javax.swing.JFrame
   at 0x4026a337: java.lang.Throwable.Throwable(java.lang.String)
(/usr/lib/libgcj.so.3)
   at 0x4025d23a: java.lang.Error.Error(java.lang.String)
(/usr/lib/libgcj.so.3)
   at 0x4026a71a:
[... chop...]

Obviously JFrame can't be found.  However, it seems to me that GNU
Classpath actually has a JFrame implementation.  Otherwise, what is
javax/swing/JFrame.class doing in Classpath's
/usr/share/classpath/glibj.zip?

Try to find sources and see if this class is a real implementation or just a stub.
Sorry for stupid suggestion.
Max




Reply to: