Curious Star
11-22-2007, 08:36 PM
database with the java and? i am using a driver named ojdbc14.jar i copied it into C:\Program Files\Java\jdk1.6.0_03\
jre\lib\ext
and i unzipped it over there as well to make sure nothing is missing;
when i run the code this is what i get:
C:\Nik>java MainScreen
Could not Load JDBC driver
java.sql.SQLException: Io exception: Invalid connection string format, a valid f
ormat is: "host:port:sid"
Exception in thread "main" java.lang.NullPointerException
at MainScreen.<init>(MainScreen.java:84)
at MainScreen.main(MainScreen.java:217)
can anyone please tell me what's wrong ? if driver is the problem, where can i get a driver and how can i install or where should i copy it.
your help is greatly appreciated
its not still working :(
other than this OJDBC driver, do i need a connector or something else
jre\lib\ext
and i unzipped it over there as well to make sure nothing is missing;
when i run the code this is what i get:
C:\Nik>java MainScreen
Could not Load JDBC driver
java.sql.SQLException: Io exception: Invalid connection string format, a valid f
ormat is: "host:port:sid"
Exception in thread "main" java.lang.NullPointerException
at MainScreen.<init>(MainScreen.java:84)
at MainScreen.main(MainScreen.java:217)
can anyone please tell me what's wrong ? if driver is the problem, where can i get a driver and how can i install or where should i copy it.
your help is greatly appreciated
its not still working :(
other than this OJDBC driver, do i need a connector or something else