on-internet
← Community

Driver not found connecting to oracle DB with jaydebeapi

Stack Overflow ·

Trying to connect to a db but getting error: conn = jaydebeapi.connect('oracle.jdbc.driver.OracleDriver', jdbc:oracle:thin:@mydomain.com:1234:GP1', [ 'user', 'pass'], 'C:\Program Files\Java\jdk1.8.0_121\ojdb6.jar') Gives the error File "C:\Anaconda2\Lib\site-packages\jpype\_jclass.py", line 55, in JClass raise _RUNTIMEEXCEPTION.PYEXC("Class %s not found" % name) java.lang.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class oracle.jdbc.driver.OracleDriver not found My JAVA_HOME variable is set to C:\Program Files\Java\jdk1.8.0_121, and in that directory I have the ojdb6.jar file, but

Comments

Sign in or sign up to comment and upvote.

No comments yet.