I’m attempting to create a java program that will allow me access to an oracle database to run sql queries. It shouldn’t be too difficult of a program but I can’t get an IDE to work correctly.
The sample program the teacher of the class gave us to use starts off with
import java.sql.*;
import oracle.jdbc.*;
import oracle.jdbc.pool.*;
import java.util.*;
and my main issue is that the IDE I use (eclipse Helios) will not recognize the import oracle.jdbc statement. I’ve spent hours searching for a plugin or anything at all to fix this. I’ve even installed Netbeans thinking that I would have more luck there. Any suggestions?
You need to download the jar ORACLE JDBC Drivers and import it in your project on Eclipse: project -> Properties -> Java Build Path -> Libraries and “Add external libraries”