Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Oracle Connection in Java

pacpac Member Posts: 34
[b][red]This message was edited by pac at 2005-10-9 15:44:4[/red][/b][hr]
Hello,

I am attempting to connect to Oracle and it seems I am missing a package, which I cannot find. Please could someone let me know if I am correct and if so where I can get it from,

Error: Package oracle.jdbc.driver does not exist.

Code: DriverManager.registerDriver
(new oracle.jdbc.driver.OracleDriver());
con = DriverManager.getConnection("I have this set to what I need");

I have imported:

import java.util.*;
import java.sql.*;
import java.io.*;

Looked at other sources and added the Oracle ojdbc14.jar file to the class path and where i need JAR files in my IDE. It seems that this has no affect!

Thanks,


Pac



Sign In or Register to comment.