参考百度经验(http://jingyan.baidu.com/article/c33e3f48a3365dea15cbb5c9.html)下载并配置ubuntu中的JDK环境变量 1.首先官网下载对应Linux 64位的JDK