Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Connect to Oracle

2008-09-08
2013-04-29
  • Cristina Ghita
    Cristina Ghita
    2008-09-08

    Hi,

    I'm trying to connect to my oracle database, but I don't know what should I put at Java class path and i driver class name. Please, can anyone help me?

    Thanks!

    Best regards,
    Cristina

     
    • spackers
      spackers
      2008-09-09

      In your Oracle client installation you should find a .jar according to your version of Java; in Oracle v8 through 10 the .jar for Java 1.2 was called classes12.jar or classes12.zip, Java 1.4 was ojdbc14.jar.  The ojdbc14.jar worked for later versions of Java, but Oracle 11 finally provided explicit support for later versions in files called ojdbc15.jar and ojdbc16.jar.

      Once you've added one of these files, click List Drivers and it'll find and display the class name to use.

      John