Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, friends.

I've tried to connect Oracle database to NetBeans through Oracle Thin After I downloaded ojdbc.jar library to connect it, but I see an error message says:

Cannot establish a connection to jdbc:oracle:thin:@localhost:1521:orcl using oracle.jdbc.OracleDriver (IO Error: The Network Adapter could not establish the connection)

and this is the image:
http://i.imgsafe.org/727e868.jpg[^]


although my oracle service is running and I can access my database using SQL Plus!
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900