[brite-users] JAva execution pb

Mohamed Anouar Rachdi marachdi at laas.fr
Fri Apr 7 13:14:21 EDT 2006


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




More information about the brite-users mailing list