I can't see why you would get that error, the error doesn't make sense... javah only uses com.ibm.jusb.os.linux.JavaxUsb, which is a static class with no superclasses. So javah should not be trying to find that class (AbstractUsbServices).
I guess the only thing I can suggest is trying to manually compile the native library, like this: javah -d jni -classpath src:$CLASSPATH com.ibm.jusb.os.linux.JavaxUsb that should create jni/com_ibm_jusb_os_linux_JavaxUsb.h then move into the jni directory and run make all that should create libJavaxUsb.so On Fri, 7 Mar 2003, David Usher wrote: >Hi, > >I am trying to get javax-usb functionality enabled on my machine. > >I have java1.4.1_02 installed. > >I downloaded the 3 files to enable java usb functionality: >javax-usb_0.10.0.tar >javax-usb-ri_0.10.0.tar >javax-usb-ri-linux_0.10.0.tar > >I downloaded ant from ant.apache.org version 1.5.2 and compiled and built it from >source OK. > >I then ran the command 'ant all' on the first package: javax-usb_0.10.0 >This built OK and I copied jsr80.jar into my classpath as instructed. > >I then ran the command 'ant all' on the second package: javax-usb-ri_0.10.0 >This built OK and I copied jsr80_ri.jar into my classpath as instructed. > >I then ran the command 'ant all' on the third package: javax-usb-ri-linux_0.10.0 >This failed with the following message: > >.......................... > >Buildfile: build.xml >clean: > [echo] Cleaning everything. > [delete] Deleting 23 files from > /home/dave/src/java_usbcomms/javax-usb-ri-linux_0.10.0/src > [delete] /home/dave/src/java_usbcomms/javax-usb-ri-linux_0.10.0/docs/jdoc not > found. > [exec] rm -f libJavaxUsb.so JavaxUsbLog.o JavaxUsbTopologyUpdater.o > JavaxUsbTopologyListener.o JavaxUsbActive.o JavaxUsbDeviceProxy.o > JavaxUsbPipeRequest.o JavaxUsbInterfaceRequest.o JavaxUsbControlRequest.o > JavaxUsbBulkRequest.o JavaxUsbInterruptRequest.o JavaxUsbIsochronousRequest.o > JavaxUsbError.o com_ibm_jusb_os_linux_JavaxUsb.h *.o >*.so >compile: > [echo] Compiling class files. > [javac] Compiling 16 source files to > /home/dave/src/java_usbcomms/javax-usb-ri-linux_0.10.0/src > [echo] Compiling JNI library. > [javah] Error: A required super class com.ibm.jusb.os.AbstractUsbServices could > not be found. > >....................... > >Now I believe that the class 'com.ibm.jusb.os.AbstractUsbServices' is contained >within jsr80_ri.jar, so why can it not find it? > >Any help would be appreciated. > > >Regards, > >David Usher > > > > -- Dan Streetman [EMAIL PROTECTED] --------------------- 186,272 miles per second: It isn't just a good idea, it's the law! ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ javax-usb-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/javax-usb-devel