简体   繁体   中英

How to install specific jdk version on CentOS linux

I want to install a specific version (1.6.0_23) of jdk on centos. As I am new to linux, how can I do the installation?

Thanks

You can download needed rpm package from Oracle site http://www.oracle.com/technetwork/java/javase/downloads/index.html

Then install this package:

rpm -ivvh jdk-6u23-linux-amd64.rpm

尝试

sudo apt-get install openjdk-7-jre

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM