Hi guys,
How can I import a library to Netbeans? I've tried everything I could think of; and didn't find a tutorial to walk me through it. The library I want to import is the ACM library from the Java Task Force.
Thanks.
-Mel
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Hi guys,
How can I import a library to Netbeans? I've tried everything I could think of; and didn't find a tutorial to walk me through it. The library I want to import is the ACM library from the Java Task Force.
Thanks.
-Mel
Hello Melawe,
i'm not sure if this is what you want but i'll give it a try since i did something similar with another library recently.
Say you've created a project named myproject. Now you want to use the ACM package in that project.
Under myproject there are some sub-directories,
right click on Libraries directory. Now, a menu appears that offers
Add Project
Add Library
Add jar/folder
Properties
Select Add jar/folder. Now, in your ACM file there must be a .jar file. You just have to locate where is this .jar file in the ACM.
Hope it helps.
All the files in the ACM lib are .java files. there are no class or jar files.
EDIT__________
Hey I tried compiling them to a .jar file and using it. It worked. Thanks.
Last edited by Melawe; March 16th, 2012 at 08:00 AM.