CentOS6安装JRE

Linux技术 技术

 

一、下载安装包

JRE下载地址:https://www.java.com/en/download/manual.jsp

wget https://product-downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-7.4.3-x64.bin

 

二、安装程序

rpm -ivh jre-8u261-linux-x64.rpm

 

三、验证安装情况

java -version

 


[root@server java]# java -version
java version “1.8.0_77”
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
[root@server java]#
[root@server java]#
[root@server java]# cd /usr/java/
[root@server java]# ls
default jdk1.8.0_77 latest