[root@tomcat-test2 ~]# java -version

java version "1.7.0_51"

Java(TM) SE Runtime Environment (build 1.7.0_51-b13)

Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

[root@tomcat-test2 ~]# rpm -Uvh http://192.168.?.?/dev/jdk-8-linux-x64.rpm

http://192.168.137.1/dev/jdk-8-linux-x64.rpm(을)를 복구합니다

준비 중...               ########################################### [100%]

   1:jdk                    ########################################### [100%]

Unpacking JAR files...

rt.jar...

jsse.jar...

charsets.jar...

tools.jar...

localedata.jar...

jfxrt.jar...

[root@tomcat-test2 ~]# java -version

java version "1.8.0"

Java(TM) SE Runtime Environment (build 1.8.0-b132)

Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)



[root@tomcat-test2 ~]# ls

anaconda-ks.cfg  install.log  install.log.syslog

[root@centos201 ~]#