Question:
How can i add an API to JAVA?
anonymous
2006-10-17 08:37:19 UTC
I've downloaded the Java USB API but i can't get it to recognize the libraries (javax.usb for example). I've unzipped the api everywhere in the jdk and jre folders and still doesn't work
Four answers:
sonfarX
2006-10-17 17:28:48 UTC
You no need to unzip all classes, just put the usb library inside the jre\lib and jre\lib\ext of your jdk and jre directories.

If you are using some IDE for java then, you must search this zip or jar libraries and add this library to your project. You are telling him that want to use a usb library and where is going to find it. After that you have all access to all usb classes.

Just a question from me.. if you don't mind, can you give me the address to download such usb library?
burg
2016-12-27 02:34:11 UTC
listed under are some songs: Stand - Rascal Flatts (that's a extensive song to take heed to on the comparable time as coping with complicated situations) save preserving On - Avril Lavigne (ideal + inspirational) shop on - solid Charlotte i'm hoping i helped : ) i'm hoping your cousin gets precise devoid of postpone (F) - (that's a rose btw :L)
mrd9483
2006-10-17 08:50:28 UTC
You should just have to put it in the folder where all your source code is. Remember to reference it using import.
Tarun
2006-10-17 08:52:02 UTC
Make sure it has been added in the classpath.



Read this article for setting up the classpath:

http://faq.javaranch.com/view?HowToSetTheClasspath


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...