Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6702609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:04:25+00:00 2026-05-26T07:04:25+00:00

Where do you save the jdbc thin driver for Oracle? I have tried jre/lib/ext

  • 0

Where do you save the jdbc thin driver for Oracle? I have tried jre/lib/ext but my program, Crystal Reports keeps saying it can’t find it. I figure I have saved it in the wrong place.

If I go to a command prompt and use:

C:\TEMP>java oracle.jdbc.OracleDriver

Oracle 11.2.0.3.0 JDBC 4.0 compiled with JDK6 on Fri_Aug_26_08:19:15_PDT_2011
Default Connection Properties Resource
Wed Oct 12 14:02:05 EDT 2011

So I know it is there.

edit: Since I could not get CR to work I tried a console app but it cannot find the driver:

package javaapplication1;


public class JavaApplication1 {

 public static void main (String[] args) throws Exception
  {
   Class.forName ("oracle.jdbc.OracleDriver");

   Connection conn = DriverManager.getConnection
     ("jdbc:oracle:thin:@myserver:1521:mysid", "myid", "mypass");
                        // @//machineName:port/SID,   userid,  password
   try {
     Statement stmt = conn.createStatement();
     try {
       ResultSet rset = stmt.executeQuery("select BANNER from SYS.V_$VERSION");
       try {
         while (rset.next())
           System.out.println (rset.getString(1));   // Print col 1
       } 
       finally {
          try { rset.close(); } catch (Exception ignore) {}
       }
     } 
     finally {
       try { stmt.close(); } catch (Exception ignore) {}
     }
   } 
   finally {
     try { conn.close(); } catch (Exception ignore) {}
   }
  }
}

edit: On my computer it is here:

C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\jdk\jre\lib\ext

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:04:25+00:00Added an answer on May 26, 2026 at 7:04 am

    Just put it in the application’s runtime classpath. The file system paths covererd by the classpath depends on how you’re executing the application.

    Based on your question history I see that you’re using JSP/Servlets, which thus means that it’s a web application in flavor of a WAR file which runs in an appserver. In that case, the JAR file needs to go in webapp’s own /WEB-INF/lib folder or in the appserver’s own /lib folder.

    If it were a plain vanilla Java application .class file with a main() method which is to be executed by java command, then you’d have to use the -cp (-classpath) argument to specify the runtime classpath. It takes a collection of (semi)colon separated disk file system paths.

    If it were a JAR file, then it had to be specified in the Class-Path entry in JAR’s /META-INF/MANIFEST.MF file. This can be relative to the java -jar command’s working directory.

    You should really avoid putting 3rd party libraries in JRE’s /lib folder. This would potentially introduce classpath problems with all other existing applications which use the same JRE.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are using the Oracle JDBC driver version 9.0.2.0.0 and are having some trouble
I was going to try using JDBC and an sqlite driver to save information
I am trying to save an Image to Derby Db(JDBC),but it gives exception void
I have this code: try { Class.forName(net.sourceforge.jtds.jdbc.Driver); Connection conn = DriverManager.getConnection( jdbc:jtds:sqlserver://myMachine:1433/myDB;instance=sql2008;user=myUserName;password=myPassword; ); System.out.println(connected);
I have created a program, i need to save the content into mysql database.
Occasionally while attempting to save a Crystal Report that I'm working on in VS2008,
I want to save the objects I generated in a program. After restart the
I am using IBM DB2 V 9.1.0.356. I am using DB2 JDBC driver version
I'm trying to save a simple object in the database, but it's giving me
save dialog saves file to the local machine. But after that, my page stand

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.