Alex.From.Ohio.Java@gmail.com wrote:
> Another very nice way to use classes (actually jar files) without
> touching classpath is to put these jar files to the $JAVA_HOME/jre/lib/
> ext/ directory.
> For example, in my case, when I put db2java.zip and
> db2jcc.jar to the
> "C:\Program Files\Java\jre1.6.0_03\lib\ext\"
> it is available for any Java application.
>
> Just make sure that you put these jar files to the Java what you use!
> Or put it to the all Java installations on your computer if you are
> not sure which one you use
Very bad way.
Builds will break when Java is updated.
It does not work with multiple versions of the same software.
Etc..
Arne