Download the .jar (e.g., ojdbc6.jar ). Step 2: Run the following command in your terminal:
: If you installed it manually, verify the file exists in your ~/.m2/repository/com/oracle/ folder. Maven Central Developers Guide - Oracle JDBC download ojdbc maven
com.oracle.database.jdbc ojdbc11 23.7.0.25.01 Use code with caution. Choosing the Right Artifact Download the
: If connecting to an Oracle Cloud (Autonomous) database, use the ojdbc11-production artifact to ensure oraclepki.jar and osdt_core.jar are included for wallet support. Download the .jar (e.g.
mvn install:install-file -Dfile=path/to/ojdbc6.jar -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.4 -Dpackaging=jar Use code with caution. Add the dependency to your pom.xml :
If your application requires advanced features like the , Oracle Wallets, or security jars (PKI), you should use the production bundle. This automatically pulls in all necessary companion JARs.