How to import/use .jar files?
I'm familiar with how to do imports in C/C++, but this thing with jar files has me mystified -- and the question seems too basic to find the answer anywhere.
A coworker gave me a bunch of .jar files, each with a number of classes I need to incorporate into my code. However I don't know where the heck to put the files, or how to write the import statement to import the file correctly.
I've been told I have to define the CLASSPATH environment variable, so I set it to C:/java/tools/, but just placing my jar files in there doesn't seem to work. I feel like I'm missing something really basic here.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)