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. (see attachment)

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