View Single Post

   
  #10 (permalink)  
Old 03-17-2008, 07:12 AM
=?ISO-8859-1?Q?Arne_Vajh=F8j?=
 
Posts: n/a
Default Re: Newbie - problem accessing DB2 with Java program.

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
Reply With Quote