Fwd: Hello

Ranjit Mathew rmathew@hotmail.com
Fri Aug 29 13:06:00 GMT 2003


Forwarding to the GCJ list for
insights.

Ranjit.


>From: archanam@indofuji.com
>To: rmathew@hotmail.com
>Subject: Hello
>Date: Fri, 29 Aug 2003 11:37:46 +0530 (IST)
>
>Hello
>
>again iam in trouble while comiling or running i dont know exactly what
>gij do.
>but i have some problem..
>what i do is i have hello-world java progarm with swt component it wokr
>fine with gcj i get hello world windoe also.
>but now what i do is i compile this hello-world java progarm in to class
>file and the i want get executable of that class file from gij.
>so what i do is
>i have set the LD_LIBRARY_PATH env variable to /usr/lib where my swt
>library is residing.
>then i did export LD_LIBRARY_PATH
>and
>gij hello-world
>but iam having following problem:
>Exception in thread "main" java.lang.IllegalAccessError
>    at 0x40268de4: java.lang.Throwable.Throwable() (/usr/lib/./libgcj.so.3)
>    at 0x4025bc6b: java.lang.Error.Error() (/usr/lib/./libgcj.so.3)
>    at 0x4025d693: java.lang.LinkageError.LinkageError()
>(/usr/lib/./libgcj.so.3)
>    at 0x4025c787:
>java.lang.IncompatibleClassChangeError.IncompatibleClassChange
>Error() (/usr/lib/./libgcj.so.3)
>    at 0x4025c5ef: java.lang.IllegalAccessError.IllegalAccessError()
>(/usr/lib/./
>libgcj.so.3)
>    at 0x402297d4: _Jv_SearchMethodInClass(java.lang.Class,
>java.lang.Class, _Jv_
>Utf8Const, _Jv_Utf8Const) (/usr/lib/./libgcj.so.3)
>    at 0x40229435: _Jv_ResolvePoolEntry(java.lang.Class, int)
>(/usr/lib/./libgcj.
>so.3)
>    at 0x40230699: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
>(/usr/l
>ib/./libgcj.so.3)
>    at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
>_Jv_InterpMethodI
>nvocation) (/usr/lib/./libgcj.so.3)
>    at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
>void) (/us
>r/lib/./libgcj.so.3)
>    at 0x4038305c: ?? (??:0)
>    at 0x40242dd8: gnu.gcj.runtime.FirstThread.call_main()
>(/usr/lib/./libgcj.so.
>3)
>    at 0x402ad02d: gnu.gcj.runtime.FirstThread.run() 
>(/usr/lib/./libgcj.so.3)
>    at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
>    at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte
>const, bool
>ean) (/usr/lib/./libgcj.so.3)
>    at 0x08048910: ?? (??:0)
>    at 0x42015574: __libc_start_main (/lib/tls/libc.so.6)
>    at 0x080486c1: ?? (??:0)
>
>
>what does this mean..
>if u have idea plz guide..
>Regards
>Archana

_________________________________________________________________
Find an old friend. Revisit your past. http://www.batchmates.com/msn.asp 
It's never been easier!



More information about the Java mailing list