-1

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.

smci
  • 32,567
  • 20
  • 113
  • 146
odbhut.shei.chhele
  • 5,834
  • 16
  • 69
  • 109

2 Answers2

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
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