production classpath question

E

Ed Thompson

Where is the 'right' place to put jar files (like xalan.jar for
instances) for running java code in a production environment?

$JAVA_HOME/jre/lib? Some other place?

I have always just worked in my own development env, or in a Tomcat env,
but now a have a straight java program (not servlet) that I need to put
in production to do XML conversions.
 
C

Christophe Vanfleteren

Ed said:
Where is the 'right' place to put jar files (like xalan.jar for
instances) for running java code in a production environment?

$JAVA_HOME/jre/lib? Some other place?

I have always just worked in my own development env, or in a Tomcat env,
but now a have a straight java program (not servlet) that I need to put
in production to do XML conversions.

Many applications put 3rd party libraries in a /lib dir under their own dir.
Than they adjust the Manifest file of the jar to put the jars in the /lib dir
in the classpath.

The advantage of this is that you're sure you get the exact version of the
libraries you need.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top