oracle数据库驱动下载(ojdbc)

2年前 (2022) 程序员胖胖胖虎阿
298 0 0

导言:

在maven上搜索到把pom配置复制到pom.xml里进行引用的时候会报错,虽然能在maven仓库里搜索到,但是不能用,原因是oracle是要收费的,不能通过远程的方式来引入,只能通过配置本地库来加载到工程里。

配置过程

1 下载ojdbc14-10.2.0.4.0.jar的驱动jar包(数据库安装文件下一般会有一个jdbc文件夹包含ojdbc.jar)

2 复制到D盘根目录下,打开cmd执行以下命令(前提是要已经安装好Maven环境)

mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.4.0 -Dpackaging=jar -Dfile=D:\ojdbc14-10.2.0.4.0.jar

oracle数据库驱动下载(ojdbc)

3 验证

现在,你到你本地的maven repository本地仓库文件夹下,进入 com\oracle\ojdbc14\10.2.0.4.0 目录,就能看见ojdbc14-10.2.0.4.0.jar已经在本地仓库,

oracle数据库驱动下载(ojdbc)

最后项目pom.xml文件中引入就不会报错了。

<dependency>
    <groupId>com.oracle</groupId>
    <artifactId>ojdbc14</artifactId>
    <version>10.2.0.4.0</version>
</dependency>

最后附上各个版本jar包下载地址:

  现在改用阿里云盘,稳定速度快,没有注册过的小伙伴可以点击领取800G永久容量。点此链接领取福利
邀请好友

jar包 简介 对应的oracle版本号 下载地址
classes12.jar 用于 JDK 1.2 和 JDK 1.3 10.2.0.1.0

classes12_10.2.0.1.0.jar

https://www.aliyundrive.com/s/YBjtUibeiKM 

10.2.0.2

classes12_10.2.0.2.jar

https://www.aliyundrive.com/s/JKxQenvCcQB 

10.2.0.3

classes12_10.2.0.3.jar

https://www.aliyundrive.com/s/GQBYt9iDhzA 

10.2.0.4

classes12_10.2.0.4.jar

https://www.aliyundrive.com/s/SpGCyA4NzNf 

ojdbc14.jar 用于 JDK 1.4 和 1.5 的类 10.2.0.1.0

ojdbc14_10.2.0.1.0.jar

https://www.aliyundrive.com/s/N32Zkrjc9Ly 

10.2.0.2

ojdbc14_10.2.0.2.jar

https://www.aliyundrive.com/s/JYvxE56F2XG

10.2.0.3

ojdbc14_10.2.0.3.jar

https://www.aliyundrive.com/s/sdDPypP6nKP 

10.2.0.4

ojdbc14_10.2.0.4.jar

https://www.aliyundrive.com/s/48mbVUuJ4tc 

ojdbc5.jar 用于 JDK 1.5 的类。它包含 JDBC 驱动程序类。 11.2.0.1.0

ojdbc5_11.2.0.1.0.jar

https://www.aliyundrive.com/s/vFw2A3WHnVQ 

11.2.0.2.0

ojdbc5_11.2.0.2.0.jar

https://www.aliyundrive.com/s/ZoCw2UQVsqo 

11.2.0.3

ojdbc5_11.2.0.3.jar

https://www.aliyundrive.com/s/R7FiuLAn2mA 

11.2.0.4

ojdbc5_11.2.0.4.jar

https://www.aliyundrive.com/s/aXgGxRpSRw5 

ojdbc6.jar 用于 JDK 1.6 的类。它包含 JDBC 驱动程序类。 11.2.0.1.0

ojdbc6_11.2.0.1.0.jar

https://www.aliyundrive.com/s/KydRBQK7AjD 

11.2.0.2.0

ojdbc6_11.2.0.2.0.jar

https://www.aliyundrive.com/s/EW1BN4bei6G 

11.2.0.3

ojdbc6_11.2.0.3.jar

https://www.aliyundrive.com/s/EFWh3MK9pEr 

11.2.0.4

ojdbc6_11.2.0.4.jar

https://www.aliyundrive.com/s/8HHWsTiNRfe 

ojdbc8.jar 支持JDBC 4.2规范,可用于JDK8、JDK11、JDK12、JDK13、JDK14和JDK15 12.2.0.1 ojdbc8-12.2.0.1.jar
https://www.aliyundrive.com/s/pqhxXU6YG4U
18.3.0.0 ojdbc8-18.3.0.0.jar
https://www.aliyundrive.com/s/n1XFor1z2QS
18.15.0.0 ojdbc8-18.15.0.0.jar
https://www.aliyundrive.com/s/zncaHbuNzLZ
19.3.0.0 ojdbc8-19.3.0.0.jar
https://www.aliyundrive.com/s/UVUvrkY53BZ
19.6.0.0 ojdbc8-19.6.0.0.jar
https://www.aliyundrive.com/s/sdq5Mg6r5oq
19.7.0.0 ojdbc8-19.7.0.0.jar
https://www.aliyundrive.com/s/Grd7va4dqxN
19.8.0.0 ojdbc8-19.8.0.0.jar
https://www.aliyundrive.com/s/7r3NwSHwiav
19.9.0.0 ojdbc8-19.9.0.0.jar
https://www.aliyundrive.com/s/WPNuUuxnazs
19.10.0.0 ojdbc8-19.10.0.0.jar
https://www.aliyundrive.com/s/xhn3rG3kH66
19.11.0.0

ojdbc8-19.11.0.0.jar

https://www.aliyundrive.com/s/HbHyfLbt38q 

19.12.0.0 ojdbc8-19.12.0.0.jar
https://www.aliyundrive.com/s/QTLFEz3ogQd
19.13.0.0.1 ojdbc8-19.13.0.0.1.jar
https://www.aliyundrive.com/s/CsXRC2NTJi7
19.13.0.0 ojdbc8-19.13.0.0.jar
https://www.aliyundrive.com/s/WUvJ4osDD1Q
19.14.0.0 ojdbc8-19.14.0.0.jar
https://www.aliyundrive.com/s/ivqusyiMUsR
21.1.0.0 ojdbc8-21.1.0.0.jar
https://www.aliyundrive.com/s/ZZqnsEZHKow
21.3.0.0 ojdbc8-21.3.0.0.jar
https://www.aliyundrive.com/s/7PG4NgKZz7y
21.4.0.0.1 ojdbc8-21.4.0.0.1.jar
https://www.aliyundrive.com/s/dnXran3yFyA
21.4.0.0 ojdbc8-21.4.0.0.jar
https://www.aliyundrive.com/s/73yHNVMLj3z
21.5.0.0 ojdbc8-21.5.0.0.jar
https://www.aliyundrive.com/s/YJCoRegerLp
ojdbc10.jar 支持JDBC 4.3规范,可用于JDK 10和JDK 11。仅提供19c版本。 19.3.0.0 ojdbc10-19.3.0.0.jar
https://www.aliyundrive.com/s/HEWi7YzffmG
19.6.0.0 ojdbc10-19.6.0.0.jar
https://www.aliyundrive.com/s/68zS3R6fY4y
19.7.0.0 ojdbc10-19.7.0.0.jar
https://www.aliyundrive.com/s/AATwCmiCYqA
19.8.0.0 ojdbc10-19.8.0.0.jar
https://www.aliyundrive.com/s/S7jQp2TRV6r
19.9.0.0 ojdbc10-19.9.0.0.jar
https://www.aliyundrive.com/s/wfMy94eUgAp
19.10.0.0 ojdbc10-19.10.0.0.jar
https://www.aliyundrive.com/s/9wteeoAu1y8
19.11.0.0 ojdbc10-19.11.0.0.jar
https://www.aliyundrive.com/s/kzdXQusRgpa
19.12.0.0 ojdbc10-19.12.0.0.jar
https://www.aliyundrive.com/s/fDPQ2N5KHcU
19.13.0.0.1 ojdbc10-19.13.0.0.1.jar
https://www.aliyundrive.com/s/FUYrPn7BKZs
19.13.0.0 ojdbc10-19.13.0.0.jar
https://www.aliyundrive.com/s/3pdnawCPqER
19.14.0.0 ojdbc10-19.14.0.0.jar
https://www.aliyundrive.com/s/bkosaGwxV3t
ojdbc11.jar 支持JDBC 4.3规范,可用于JDK11、JDK12、JDK13、JDK14和JDK15。 21.1.0.0 ojdbc11-21.1.0.0.jar
https://www.aliyundrive.com/s/QDdTfhXhc5T
21.3.0.0

ojdbc11-21.3.0.0.jar

https://www.aliyundrive.com/s/GCLkXWMLxKX 

21.4.0.0.1 ojdbc11-21.4.0.0.1.jar
https://www.aliyundrive.com/s/Mjj7CQkrm1j
21.4.0.0 ojdbc11-21.4.0.0.jar
https://www.aliyundrive.com/s/LWTq4YstGv1
21.5.0.0 ojdbc11-21.5.0.0.jar
https://www.aliyundrive.com/s/AhwCoifm1Nj
版权声明:程序员胖胖胖虎阿 发表于 2022年9月25日 下午10:32。
转载请注明:oracle数据库驱动下载(ojdbc) | 胖虎的工具箱-编程导航

相关文章

暂无评论

暂无评论...