Solved

how can i connect to orcale by oracle driver in java progamming.

Posted on 2004-09-03
8
260 Views
Last Modified: 2010-03-31
hai
everybody ,Actually i am a novice programmer in the
field of java.i tried to connect the oracle by the driver from
java.but it shows me that the class is not found.Can anybody provides me the entrire steps to do that.

thanks...
neel..
0
Comment
Question by:NILAKANTHA
  • 3
  • 2
8 Comments
 
LVL 92

Accepted Solution

by:
objects earned 43 total points
ID: 11970736
0
 
LVL 92

Expert Comment

by:objects
ID: 11970740
You'll need to either add the oracle driver classes to your classpath, or copy their jar into your jdk/jre ext directory.
0
 
LVL 35

Assisted Solution

by:girionis
girionis earned 41 total points
ID: 11970755
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 8

Expert Comment

by:thomas908
ID: 11970763
download classes12.zip and put it in ur classpath
0
 
LVL 8

Assisted Solution

by:thomas908
thomas908 earned 41 total points
ID: 11970771
0
 
LVL 8

Expert Comment

by:thomas908
ID: 11970788
once you have added the driver to the classpath use the links provided above to write code to connect to oracle database
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
allswap challenge 6 79
Running Jira on Raspberry PI 2? 3 264
split string containing \r\n in Java 46 38
Spring Framework HTTPSession management 1 23
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now