CentOS 6.5安装jdk1.8

阅读更多

CentOS 6.5安装jdk1.8

1、安装JAVA
http://blog.csdn.net/ai_zxc/article/details/78722782


yum list installed | grep java
yum -y remove 包名字
yum update
yum search java | grep ^java*
yum -y install java-1.8.0-openjdk
rpm -ql java-1.8.0-openjdk
java -version


2 安装Tomcat 8
wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-8/v8.0.47/bin/apache-tomcat-8.0.47.tar.gz
tar -zxvf apache-tomcat-8.5.24.tar.gz

你可能感兴趣的:(JVM,centos)