posted 20 years ago
Hi, I've used following Oracle connection on Ora8 and Ora9i and it has always worked for me:
myJavaProgram.java
But when I try to recompile the same code on Oracle 7.3.4 using an the command line class path
javac -verbose -classpath .:/opt/oracle/product/v473/jdbc/lib/classes111.zip:/path/to/other/java/stuff myJavaProgram.java
I get this compile time error message
[code]
myJavaProgram.java:206: class oracle.java.OracleDriver not found in type declaration
DriverManager.registerDriver(new Ooracle.jdbc.OracleDriver());
.............................................^
1 error
[code]
Using the verbose option, I found that javac expanded classes111.zip which included the DriverManager class.
What have I done wrong and how do I make it work?
THANKS !