Originally posted by Bashir Mirzad: Hi everybody I am useing Oracle 8i, Tomcat 4.0 and JDK 1.3.0_02 which JDBC driver I need which version jdbc I shoul download thanks Bashir
look for classes12.zip im sure they are on ur machine if u have oracle Client installed on ur system; put it in the classpath; use either of one to load the driver! Class.forName("oracle.jdbc.driver.OracleDriver"); DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); datz it u r all set
Hi Hrithik Roshan! thanks for reply, I put the path of the classes12.zip file in the classpath, but now I can't run a java program when I am compiling a java file its compiling Successfully but when Running the file it give me the message
C:\javac test.java (test is the name of the file) C:\>java test Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion' has value '1.1', but '1.3' is required. Error: could not find java.dll Error: could not find Java 2 Runtime Environment. its happened since when I put the classes12.zip in the classpath Before that it was fine, if know plz tell me what is wrong thanks Bashir
Make sure you only have 1 Oracle JDBC driver in your classpath. Also, make sure your PATH points to the JRE installed with Oracle.
Joined: Nov 28, 2001
Dear Tan! I have only classes111.zip and a jar files in my classpath this my classpath sample C:\Oracle\Ora81\orb\classes\yoj.jar;C:\Oracle\Ora81\orb\classes\share.zip;C:\Oracle\Ora81\jdbc\lib\classes111.zip thanks for your help Bashir