so you put the files somewhere else and removed them from jre/lib/ext/ 
right...?  just making sure...

As far as running as root, you shouldn't have to.  The only reason I know 
of you may have to run as root is the USB device node permissions, by 
default they are 644, unless you mount /proc/bus/usb with the 
'devmode=0666' option, which lets all users access the devnodes.

It is possible that the JNI has a bug when it can't access the devnodes; 
it should obviously just fail, but I haven't tested it in a while.  Did 
you get the output when using -DJAVAX_USB_MSG_LEVEL=DEBUG3?  That should 
show where in JNI you're dying...

About the jre/lib/ext directory, jars in that directory get special 
treatment by the JRE.  I don't trust JVMs to work right, when using jars 
in that directory.


On Sat, 11 Oct 2003, Aurelien Godin wrote:

>I tried to put the files somewhere else, but it did not solve the problem.
>However, I made some progress : if I run the application as Root, is works
>perfectly.
>
>So I have two questions :
>- with the previous version of javax-usb (running on Mandrake 8.1) I did not
>need to connect as root. Why do I need it now ?
>- why don't you recommend to put the jarfiles in the jre/lib/ext dircetoy ?
>
>Thanks vey much for your help,
>
>Aurelien
>

-- 
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: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
javax-usb-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to