i am an amateur programmer in java.
can anyone please tell me how do i go about connecting my java application to oracle 9i database?
please be specific about what is the URL that i should use and how should i install the oracle JDBC driver.where should i install it.
if it is already available with either JDK 1.5(which i am using) or oracle 9i. where can i locate it and how should i install it. please let me know all the details. thank you.
Jump to Post
Here are the drivers of Oracle for java.
Install the jar into the "\jre\lib\ext\" directory of wherever your jsdk is installed at.
This code would print out the database names on the server:
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance(); String url = "jdbc:mysql://192.168.2.184/"; String user = "guest"; String …
All 6 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.