Importing Libraries into Netbeans...

Gamingphreek

Lifer
Mar 31, 2003
11,679
0
81
I decided to go with Netbeans for my IDE and I am having some trouble. My class (CS 1705) uses its own .JAR file which provides us with all the necessary classes and libraries for the class.

I tried importing it into the project and I tried linking to it via the libraries menu but neither seems to have worked... Can anyone guide me through what I need to do to make sure all of this works?

-Kevin
 

mundane

Diamond Member
Jun 7, 2002
5,603
8
81
New Project
Libraries (Right Click)->Add JAR/Folder
Select the .jar file
<Done>

Now it will be accessible from within your project, _but_ you will need to use import statements within your class files.