I have just downloaded a java library. It is zip file. After extracting I have found that it consists of jar files. Now what am I supposed to do with it? Where do I copy these files so that I can access them from the java code.
Asked
Active
Viewed 269 times
-1
-
Make a folder in your project, put the jars in there. Then add the folder/jars to your build path. – JackWhiteIII Jun 29 '15 at 09:22
-
How do I add folders/jars to my build path. I am not using eclipse. Just vim. – odbhut.shei.chhele Jun 29 '15 at 09:23
-
1Don't use the term 'paste' with files. It's "Where do I move them?" – smci Jun 29 '15 at 09:52
-
Hopefully [this thread](http://stackoverflow.com/a/11150286/1057230), will be of some help, on the topic :-) – nIcE cOw Jun 29 '15 at 09:52
2 Answers
1
The is an excellent answer to that in a related question. Basically you tell the compiler and/or the runtime explicitly where the jars are.
Good luck!

Community
- 1
- 1

Nik Corthaut
- 66
- 3
1
Actually, you can extract your libraries where ever you want, but I you have to pass their path as an arguments to the java
and javac
commands in order to compile and to run your application

Super Hornet
- 2,839
- 5
- 27
- 55