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
 
 
 

Reply via email to