Thank you Dan, but I have read FAQ (http://javax-usb.org/faq.html).

"What is the javax.usb.properties file?
The javax.usb.properties file is a Java properties file that is required by the API implementation loader class. The properties file must be loadable by normal means (i.e. it must be in the CLASSPATH) and it must contain the property javax.usb.services. This property must be defined. Its value must be the fully qualified class name of a class that implements the interface javax.usb.UsbServices. This class will be loaded as the implementation of javax.usb."


For linux this property defines as "javax.usb.services = com.ibm.jusb.os.linux.LinuxUsbServices". I will try it in linux soon. But in windows this property is "#javax.usb.services = <you need to set this>" and I don't know what class I need to write here.


Dan Streetman write:
Please read the FAQ. See the main page for a link to it.
On Tue, Aug 5, 2008 at 8:18 AM, Aljesco <[EMAIL PROTECTED]> wrote:
  
Hi all!

I have a problem with javax.usb package.

I have compiled and put "javax.usb" package and "javax.usb.properties"
file into CLASSPATH. Then, I tried to launch "javax-usb-example_1.0.0"
program, but I have get next error:

=Exception in thread "main" java.lang.RuntimeException: Error : The
property javax.usb.services is not defined as the implementation =class
of UsbServices
=    at ShowTopology.getVirtualRootUsbHub(ShowTopology.java:58)
=    at ShowTopology.main(ShowTopology.java:25)

Tell me please, what I must write into "javax.usb.services" property in
"javax.usb.properties" file? (In linux and windows, please).

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url="">
_______________________________________________
javax-usb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

    

  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
javax-usb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to