在linux环境下安装JDK,参考 http://lomis.iteye.com/blog/2234808 ,以前写的安装jdk7的步骤。 安装JDK8基本一样。 转载于:https://my.oschina.net/u/128964/blog/1831562