No, I dint' build the library myself, I have download the 
libJavaxUsb-1.0.0.so
<http://prdownloads.sourceforge.net/javax-usb/libJavaxUsb-1.0.0.so?download>
from the sourceforge project page under the javax.usb RI for Linux
section and created the symbolic links manually, but I also installed
the Download javax-usb-ri-linux-1.0.0-2.i386.rpm
<http://prdownloads.sourceforge.net/javax-usb/javax-usb-ri-linux-1.0.0-2.i386.rpm?download>
temporarily for testing which didn't work too. The size of the
libJavaxUsb-1.0.0.so file is 158,305 Bytes.

I'd like to build the library for my own to test whether this will work,
but the file JavaUsb.h includes another called
'com_ibm_jusb_os_linux_JavaxUsb.h' which seems not to be present neither
in the Linux RI nor on my system.

Best Regards
-Michael Nischt
 

Dan Streetman wrote:

>I'm guessing java is successfully finding the library but for some reason 
>it can't load it, and so it's simply skipped and the error appears to be 
>that it's not found...how did you create the library, build it yourself?  
>What's the lib size?
>
>On Fri, 29 Jul 2005, Michael Nischt wrote:
>
>  
>
>>Thanks for answering Dan,
>>
>>I belieive that the permissions on th are o.k.:
>>
>>-rw-r--r--  1 root root  /usr/java/jdk/jre/lib/ext/jsr80-1.0.0.jar
>>-rw-r--r--  1 root root  /usr/java/jdk/jre/lib/ext/jsr80_linux-1.0.0.jar
>>-rw-r--r--  1 root root  /usr/java/jdk/jre/lib/ext/jsr80_ri-1.0.0.jar
>>
>>-rwxr-xr-x  1 root root /usr/java/jdk/jre/lib/i386/libJavaxUsb-1.0.0.so
>>
>>lrwxrwxrwx  1 root root /usr/lib/libJavaxUsb-1.0.0.so ->
>>/usr/java/jdk/jre/lib//i386/libJavaxUsb-1.0.0.so
>>lrwxrwxrwx  1 root root /usr/lib/libJavaxUsb.so ->
>>/usr/java/jdk/jre/lib//i386/libJavaxUsb-1.0.0.so
>>
>>Furthermore the usb permissions are:
>>
>>dr-xr-xr-x  2 root root 001
>>dr-xr-xr-x  2 root root 002
>>dr-xr-xr-x  2 root root 003
>>dr-xr-xr-x  2 root root 004
>>dr-xr-xr-x  2 root root 005
>>-r--r--r--  1 root root 0 devices
>>
>>dr-xr-xr-x  2 root root  .
>>drwxr-xr-x  7 root root  ..
>>-rw-r--r--  1 root root  001
>>
>>and so on.
>>
>>I also have tried runnning the sample app while in superuser mode with
>>the same results.
>>Finally, the verbose output seems not to have any additional
>>information/errors.
>>
>>Are there any dependencies on or conflicts with other libraries ? These
>>are the ones I have installed:
>>
>>ibmusbasm.i386                1.10.2-1.2.fc4.rf
>>libusb.i386                   0.1.10a-1
>>libusb-devel.i386             0.1.10a-1
>>usbutils.i386                 0.70-1.1
>>usbview.i386                  1.0-13
>>
>>On the other hand the hand the output says that it cannot load the
>>library because it is not in the java library path which should have
>>nothing to with other libs.
>>
>>Another try was printing out the java.library.path:
>>
>>/usr/java/jdk/jre/lib/i386/client:/usr/java/jdk/jre/lib/i386:/usr/java/jdk/jre/../lib/i386
>>
>>which does not contain /usr/lib, therefore I have appended it with
>>System.setProperty before loading:
>>
>>/usr/lib:/usr/java/jdk/jre/lib/i386/client:/usr/java/jdk/jre/lib/i386:/usr/java/jdk/jre/../lib/i386
>>
>>but again this didn't work. At this point, I really have no idea what is
>>going wrong..
>>
>>Best regards
>>-Michael Nischt
>>
>>
>>
>>Dan Streetman wrote:
>>
>>    
>>
>>>It should have loaded it, especially since you have a link to it in 
>>>/usr/lib.  Have you checked the permissions on it?  You could also try 
>>>running java with -verbose to see if there are other problems when it 
>>>tries to load it.
>>>
>>>On Thu, 28 Jul 2005, Michael Nischt wrote:
>>>
>>> 
>>>
>>>      
>>>
>>>>Hello all,
>>>>
>>>>can anyone tell me please how to install javax.usb correctly?
>>>>
>>>>Altough, I believe that everything is installed right in place, but
>>>>the following error message appears:
>>>>
>>>>Error while loading shared library libJavaxUsb.so : no JavaxUsb in
>>>>java.library.path
>>>>javax.usb.UsbException: Error while loading shared library
>>>>libJavaxUsb.so : no JavaxUsb in java.library.path
>>>>      at com.ibm.jusb.os.linux.JavaxUsb.loadLibrary(JavaxUsb.java:35)
>>>>      ..
>>>>
>>>>My configuration is:
>>>>-- running Fedora Core 4 with Java 5 Update  4 ---
>>>>
>>>>/usr/java/jdk/jre/lib/ext/jsr80-1.0.0.jar
>>>>/usr/java/jdk/jre/lib/ext/jsr80_ri-1.0.0.jar
>>>>/usr/java/jdk/jre/lib/ext/jsr80_linux-1.0.0.jar
>>>>
>>>>/usr/java//jdk/jre/lib/i386/libJavaxUsb-1.0.0.so
>>>>
>>>>with symbolic links to:
>>>>/usr/lib/libJavaxUsb.so -> /usr/java/jdk/jre/lib/i386/libJavaxUsb-1.0.0.so
>>>>/usr/lib/libJavaxUsb-1.0.0.so ->
>>>>/usr/java/jdk/jre/lib/i386/libJavaxUsb-1.0.0.so
>>>>
>>>>
>>>>
>>>>I'm wondering why the libJavaxUsb.so cannot be loaded, since other
>>>>Java API's like JOGL, JOAL or JInput  perfectly work.
>>>>
>>>>
>>>>Btw, are there any estimated realse dates for a windows implementation?
>>>>
>>>>
>>>>Thanks for answering and best regards
>>>>-Michael Nischt
>>>>
>>>>
>>>>
>>>>-------------------------------------------------------
>>>>SF.Net email is Sponsored by the Better Software Conference & EXPO September
>>>>19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
>>>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
>>>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
>>>>_______________________________________________
>>>>javax-usb-devel mailing list
>>>>javax-usb-devel@lists.sourceforge.net
>>>>https://lists.sourceforge.net/lists/listinfo/javax-usb-devel
>>>>        
>>>>
>
>  
>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to