Reputation: 509
I am trying to connect Oracle over SSL using thin JDBC driver. I have wallet configurations available. But when I am trying to connect to Oracle from a Java program, I am getting
To use 'connect /' functionality, oraclepki.jar must be in the classpath: java.lang.NoClassDefFoundError: oracle/security/pki/OracleWallet
Most of the solutions are pointing towards adding jars oraclepki.jar, osdt_cert.jar, osdt_core.jar but I am not able to find a place from where to download those.
Can someone please help ?
Upvotes: 1
Views: 18165
Reputation: 1
Check jdk or jre. jre have oraclepki.jar, osdt_cert.jar, osdt_core.jar, but jdk doesn't.
I think you might be used jdk in part for jre in IDE.
Upvotes: 0
Reputation: 3763
These jars can be found in your Oracle Database installation.
They can also be found in the Oracle Maven Repository or on the Oracle JDBC download page.
Upvotes: 4