ubuntu 服务器应该怎样安装 java 运行环境

对于服务器服务运行需要安装 java 运行环境的情况来说, 使用 jre-headless

apt-get install openjdk-7-jre-headless

Headless is the same version than the latter without the support of keyboard, mouse and display systems. Hence it has less dependencies and it makes it more suitable for server application.

附文链接: http://askubuntu.com/questions/48468/how-do-i-install-java

添加新评论