Solved

Am I need to install Oracle server on my local machine before I can use JDBC?

Posted on 2008-10-05
8
359 Views
Last Modified: 2013-12-19
Am I need to install Oracle server on my local machine before I can use JDBC?
0
Comment
Question by:mawingho
8 Comments
 
LVL 2

Accepted Solution

by:
maggc earned 175 total points
Comment Utility
No, that is normally not necessary. I think you will only need the oracle client drivers.

look here:

http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
0
 
LVL 5

Assisted Solution

by:Didier Vally
Didier Vally earned 175 total points
Comment Utility
Oracle server components can be installed either on your own development machine, or on another machine reachable on the network.

Oracle client components need to be installed on your development machine, and Oracle JDBC drivers must also be installed on the development machine, because it will be needed by your Java Code to access the local or remote Oracle database.
0
 

Author Comment

by:mawingho
Comment Utility
I have followed the instruction to download the JDBC driver, but still doesn't work....
0
 

Author Comment

by:mawingho
Comment Utility
is it because my PATH problems?? or anything else???
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 1

Assisted Solution

by:MrMarshall
MrMarshall earned 150 total points
Comment Utility
You need to point to a Database somewhere it can be  local or on a remote host. You do need to oracle JDBC drivers availble to build your project. It doesn't work doesn't really gives us alot to go on to help you. What specific errors are you getting?
0
 
LVL 5

Assisted Solution

by:Didier Vally
Didier Vally earned 175 total points
Comment Utility
Can you give more details on your problem please.
0
 

Author Comment

by:mawingho
Comment Utility
When I run my java program, it return an error......It cannot find the JDBC driver even I set the Path in the System.
0
 
LVL 5

Expert Comment

by:Didier Vally
Comment Utility
Have you copied the Oracle JDBC Driver in WEB-INF\LIB ?
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

744 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

18 Experts available now in Live!

Get 1:1 Help Now