Please see the FAQ:
http://javax-usb.org/faq.html#linux_imp_jar_file



On Sat, 4 Mar 2006, Aravindakshan M R wrote:

>Hi everyone,
> 
>           I have downloaded the following  three packages :          
>                                  javax-usb_1.0.1.tar.bz2
>                                  javax-usb-ri-linux_1.0.1.tar.bz2
>                                 javax-usb-ri_1.0.1.tar.bz2
> And then build jar files using Ant. These jar files where were added to the 
> classpath.Also the directory containing the     javax.usb.properties was 
> added to the classpath.
> The simple program that i am trying to run is below:
> 
> import java.util.*;
> import javax.usb.*;
> public class trial {
>     
>     /** Creates a new instance of trial */
> public static void main(String args[])
> {
> try
> {        
>    UsbServices servee=UsbHostManager.getUsbServices();
>   
> }
> catch(Exception e) { System.out.println("The version is :" +e);}
>     
> }
> }
> 
> The above program gets compiled but it doesnot run and gives the error 
> message shown in the subject.
> Kindly help regarding this as quickly as possible.
> 
> Thank you
> Aravind
> 
>               
>---------------------------------
>Brings words and photos together (easily) with
> PhotoMail  - it's free and works with Yahoo! Mail.

-- 
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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to