hi all. am new bie to this list..
 i have to devlop some USB API based application in linux platform.. for USB devices(mobile,Camera,memory stick,mouse) for uploading and downloading files thru USB port..
 first i start with example file MouseDriver.java.. i am facing some error.. when i xecute it..
then i devlop my own simple program.. still i am facing the same unexpected exception error:
 
_________________________________________________________________________
[EMAIL PROTECTED] src]# gcj -C MouseDriver.java
[EMAIL PROTECTED] src]# java MouseDriver

Exception in thread "main" java.lang.InternalError: unexpected exception during linking: java.lang.Cl
assNotFoundException: javax.usb.UsbDevice
   at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./libgcj.so.3)
   at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.3)
   at 0x402691fa: java.lang.VirtualMachineError.VirtualMachineError(java.lang.String) (/usr/lib/./lib
gcj.so.3)
   at 0x4025d62e: java.lang.InternalError.InternalError(java.lang.String) (/usr/lib/./libgcj.so.3)
   at 0x4025ad82: java.lang.ClassLoader.resolveClass0(java.lang.Class) (/usr/lib/./libgcj.so.3)
   at 0x4024646c: java.lang.Class.initializeClass() (/usr/lib/./libgcj.so.3)
   at 0x40244d04: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib
/./libgcj.so.3)
   at 0x40244d9f: java.lang.Class.forName(java.lang.String) (/usr/lib/./libgcj.so.3)
   at 0x402ad01d: 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, boolean) (/usr/lib/./libg
cj.so.3)
   at 0x08048910: ?? (??:0)
   at 0x42015574: __libc_start_main (/lib/tls/libc.so.6)
   at 0x080486c1: ?? (??:0)
__________________________________________________________________________
 
these above lines are my error.. ..
i am using redhat 9 , kernel 2.4 . GCC version is 3.2..
kindly anybody tell me .. what i shud do for execution..
 
 
thanking u in anticipation
 
regards

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to