Where should I put Java libraries in Linux?

Where should I put Java libraries in Linux?
Answer
All you need to do is put the jar file in a specific location, and add the jar file to your classpath. How you do that depends on the linux distro you are using. If you are making a web application in eclipse, you can drop the
.jar file in the WebRoot/web-inf/lib folder, and it will be bundled in with your project.
 

Tìm kiếm

Back
Top