JDBC OSX 10.4 classpath and xcode

Here is my classpath

echo $CLASSPATH

/Users/m3the01/oracle/jdbc/lib/classes111.zip:/Users/m3the01/oracle/jdbc/lib/nls_charset11.zip

Im getting the oracle.jdbc.driver.oracledriver error

Any tips on adding the drivers to xcode would also be appreciated.

I attempt to build by

javac -classpath $CLASSPATH *.java

java mainapp

Than i get the noted error from the call

try{

Class.forName("oracle.jdbc.driver.OracleDriver");

}catch(ClassNotFoundException e){

JOptionPane.showMessageDialog(null, "DatabaseConnectionManager:OracleDriverCheck:\nError: " + e.getMessage(),

"Error", JOptionPane.ERROR_MESSAGE);

}

[692 byte] By [m3the01a] at [2007-11-27 8:55:08]
# 1

Please not i can resolve all these issues if i place the two files in

/System/Library/Java/Extensions/

folder

Everything in xcode and through javac terminal compiling and execution works perfectly.

However i understand this is not the correct method and would really like to get the classpath method working in both xcode and javac terminal comping on mac os 10.4

thanks

m3the01a at 2007-7-12 21:15:43 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...