This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes JDBC driver for Oracle 8i, Tomcat  and JDK Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC driver for Oracle 8i, Tomcat  and JDK " Watch "JDBC driver for Oracle 8i, Tomcat  and JDK " New topic
Author

JDBC driver for Oracle 8i, Tomcat and JDK

Bashir Mirzad
Greenhorn

Joined: Nov 28, 2001
Posts: 25
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
Hrithik Roshan
Greenhorn

Joined: Dec 12, 2001
Posts: 23
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
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

download the thin drivers for Oracle 8.1.7(they are backward compatable). They are available from the first link in this post. There are some other useful links here too http://www.javaranch.com/ubb/Forum55/HTML/000010.html
Jamie
Bashir Mirzad
Greenhorn

Joined: Nov 28, 2001
Posts: 25
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
Stanley Tan
Ranch Hand

Joined: May 17, 2001
Posts: 243
Make sure you only have 1 Oracle JDBC driver in your classpath. Also, make sure your PATH points to the JRE installed with Oracle.
Bashir Mirzad
Greenhorn

Joined: Nov 28, 2001
Posts: 25
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC driver for Oracle 8i, Tomcat and JDK
 
Similar Threads
ORA-01000: maximum open cursors exceeded
how to implement jdbc with orcale 8i.
JDBC Driver for oracle 8i
Network Adapter Problem
JDBC Type $ Driver