I am using Eclipse. For getting the connection to DataBase I got ClassNotFoundException : oracle:jdbc:driver.OracleDriver. I have jar file here: E:\sqldeveloper\jdbc\lib. Where I Should set the classpath in eclipse. Please suggest me
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/dms/instrument/ExecutionContextForJDBC at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:363) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:816) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at PReport.createConnection(PanReport.java:73) at PReport.main(PanReport.java:55)
Joined: Mar 17, 2008
I got it...
I changed the classpath location to jdbc/bin that is in oracle