Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

add oracle jdbc driver to eclipse java project

If you're wanting to include a JAR file to your Eclipse project, 
you would generally create a 'lib' folder inside the project folder, 
and put the file in there. You then need to tell eclipse to include it 
in your class path so your code will compile and run inside eclipse.

To do that: - Go into the properties of your project - 
  Select 'Java Build Path' in the left hand column 
  - Select the 'Libraries' 
  tab in the centre part of the window - Click the Add External JARs button
  - this will give you a list of your projects in eclipse
  - expand your project and into the lib folder 
  - your jar will be there. 
  - Select the JAR, click OK, and OK again out of the properties window.

Or, you can just right-click the jar and click BuildPath->Add to Build Path.
 
PREVIOUS NEXT
Tagged: #add #oracle #jdbc #driver #eclipse #java #project
ADD COMMENT
Topic
Name
9+5 =