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.

Reply via email to