How is Path differnt from classpath settings...
do they conflict in any way?
i am trying to run a
java program which tries to load
jdbc driver
my path is set to: PATH=h:\jdk1.3.1_01\bin
and classpath to:
set CLASSPATH=K:\oracle\ora90\jdbc\lib\classes12.zip;K:\oracle\ora90\jdbc\lib\nls_charset11.zip
if i am right assuming that my dreiver are in : classes12.zip
note oracle is in K: drive and my jdk in H: drive
when i do not set the classpath and run a simple program which outputs a srting it runs alright...BUT... when i set the classpath var my program does not run, tough it compiles fine...
it gives following error on running:
Exception in
thread "main" java.lang.NoClassDefFoundError:simpleprogram
but if i do not set the classpath ... simple porgrams run fine but the jdbc programs give couple of other errors.... saying no such pacages exist...like oracle.jdbc.driver.*
I am very confused!
please help !!
[ March 13, 2002: Message edited by: Richa Jeetah ]