This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud and have Kyle Brown, Bobby Woolf and Joseph Yodor on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

JDBC driver for Oracle 8i, Tomcat and JDK

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic