Results 1 to 7 of 7
  1. #1
    matpj is offline Member
    Join Date
    Sep 2008
    Posts
    42
    Rep Power
    0

    Default Help with installing and using ORacle JDBC driver

    Hi all,
    I have downloaded (I think) the JDBC driver for Oracle from the Oracle website.
    it was downloaded as a jar file.

    the only thing is, I have no idea how to use it or where to put.
    I think I know the command to connect to the database, but at the moment I cant even get that far!

    any help on where to put the file and what to do in my script to 'see' the driver would be appreciated.

    thanks,
    Matt

  2. #2
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    7

    Default

    You should import it into your project

  3. #3
    matpj is offline Member
    Join Date
    Sep 2008
    Posts
    42
    Rep Power
    0

    Default

    hi serjant,

    thanks for the reply, but how?
    I have only just started looking at java - having never written any outside of my week long course 3 months ago.

    If I have the .jar file from Oracle, how do I import it into my project?

    (what I am writing needs to be deployed so that it can be run by any user)
    thanks,
    Matt

  4. #4
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    7

    Default

    What do you use?Eclipse?NetBeans?

  5. #5
    matpj is offline Member
    Join Date
    Sep 2008
    Posts
    42
    Rep Power
    0

    Default

    I use net beans..
    is it different for different IDE's?

    I thought Java would be java no matter what IDE it is developed in.

  6. #6
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    7

    Default

    So create there a new Java Project,then as i remember,go to properties of the project ,and search where you can add the libraries,jar etc,and add your oracle jar file.

  7. #7
    matpj is offline Member
    Join Date
    Sep 2008
    Posts
    42
    Rep Power
    0

    Default

    excellent. I didn't realise it was that simple.
    I'm at home this weekend, but wanted to try and find out before getting back to work on monday.
    I'm assuming that when I create a jar file of my application, the Oracle one gets bundled in with it so users don't need to worry about downloading it..

Similar Threads

  1. Replies: 6
    Last Post: 02-19-2010, 01:57 PM
  2. Replies: 0
    Last Post: 03-21-2008, 01:13 PM
  3. Replies: 1
    Last Post: 03-14-2008, 02:51 PM
  4. Jdbc Driver For Oracle
    By Swamipsn in forum New To Java
    Replies: 0
    Last Post: 08-14-2007, 04:31 AM
  5. Oracle Driver
    By softy in forum Advanced Java
    Replies: 0
    Last Post: 06-28-2007, 02:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •