[brite-users] JAva execution pb

Monchai Lertsutthiwong lertsumo at engr.orst.edu
Fri Apr 7 14:43:51 EDT 2006


I had faced the same problem when i first installed BRITE in Linux Slackware. I
re-installed JAVA then everything is working fine. make sure you can compile
any Java codes on your Linux machine. If you think you install JAVA properly.
Let you check the PATH in your C- or bash- or whatever shell.

I think i might help you.


Quoting Mohamed Anouar Rachdi <marachdi at laas.fr>:

> Hello everyone,
>
> i tried to use the BRITE software with the java gui,
>
> since i'm more used with C++ i managed to compile it even if there was
> some stuff
> not working with my linux config
>
> but with the java part everything goes right at compilation time but
> when i tried to execute the
> gui i got this uggly message wich refers to some lost Java classes
>
> can anyone help please,
>
>
>
> Exception in thread "main" java.lang.NoClassDefFoundError: while
> resolving class: GUI.Brite
>    at java.lang.ClassLoader.resolveClass0(java.lang.Class)
> (/usr/lib/libgcj.so.4.0.0)
>    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.4.0.0)
>    at java.lang.Class.forName(java.lang.String, boolean,
> java.lang.ClassLoader) (/usr/lib/libgcj.so.4.0.0)
>    at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
>    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.4.0.0)
>    at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.4.0.0)
>    at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)
> (/usr/lib/libgcj.so.4.0.0)
>    at __libc_start_main (/lib/libc-2.3.2.so)
> Caused by: java.lang.ClassNotFoundException: javax.swing.JTextArea not
> found in [file:./, core:/]
>    at java.net.URLClassLoader.findClass(java.lang.String)
> (/usr/lib/libgcj.so.4.0.0)
>    at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String)
> (/usr/lib/libgcj.so.4.0.0)
>    at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
> (/usr/lib/libgcj.so.4.0.0)
>    at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader)
> (/usr/lib/libgcj.so.4.0.0)
>    at java.lang.Class.forName(java.lang.String, boolean,
> java.lang.ClassLoader) (/usr/lib/libgcj.so.4.0.0)
>    at _Jv_BytecodeVerifier.type.compatible(_Jv_BytecodeVerifier.type&,
> _Jv_BytecodeVerifier) (/usr/lib/libgcj.so.4.0.0)
>    at _Jv_BytecodeVerifier.verify_instructions_0()
> (/usr/lib/libgcj.so.4.0.0)
>    at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.4.0.0)
>    at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.4.0.0)
>    at java.lang.ClassLoader.linkClass0(java.lang.Class)
> (/usr/lib/libgcj.so.4.0.0)
>    at java.lang.ClassLoader.resolveClass0(java.lang.Class)
> (/usr/lib/libgcj.so.4.0.0
>
>
> _______________________________________________
> brite-users mailing list
> brite-users at cs.bu.edu
> http://cs-mailman.bu.edu/mailman/listinfo/brite-users
>




More information about the brite-users mailing list