File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

novice: want to connect to oracle

 
John Kilbourne
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working with Horton's beginning java book, and can do the examples with Access, but I want to try with oracle. I downloaded the driver from oracle, a zip with about 40 separate files. I am a bit overwhelmed, and just want to repeat what I did with the access database from the Ivor Horton beginning Java book. That was easy b/c the odbc driver is built in. Can anyone direct me in the best(simplest) way to install the driver(s). I've heard that it is pretty difficult.
Thanks in advance.
 
Stanley Tan
Ranch Hand
Posts: 243
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not really that difficult. I don't have much experience connecting to an Oracle DB, but it should be the same. Just stick the downloaded JDBC driver file (I think it's .zip) into your classpath and then you can start using it!
 
Marcos Maia
Ranch Hand
Posts: 977
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to point your classpath to the oracle driver classes, I�ve put some code samples about how to get a connection from oracle at: http://www.javaranch.com/ubb/Forum3/HTML/001514.html
take a look if you need.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic