Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SQLException : The Network Adapter could not establish connection

 
Tapan Prajapati
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hii,

I am using Windows Vista 32bit o/s , installed Software Oracle 11.2.0.1
i am able to execute oracle Type 1 driver by using odbc connection

Now i want to connect my Java Application with My Oracle Database Software by Type 4 mechanism
i successfully added "OJDBC6.JAR" file in my class path
while executing code i got an SqlException : The Network Adapter could not establish connection

here is my code..



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic