-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
  • 29,564
  • 18
  • 109
  • 144
odbhut.shei.chhele
  • 5,352
  • 15
  • 62
  • 105

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,709
  • 5
  • 25
  • 55