jdk安装极其简单,因为java应用太广泛.先看下系统中是否已安装,已安装了先卸载,没安装则直接通过yum一步到位安装即可. 1.看本机是否已有jdk # java -version -bash: java: command not found 2.看yum下的安装包 # yum -y list java* Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Available P…