新安装了ubuntu12.04,安装java的开发环境如下步骤:
1、添加这个源: sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse"
2、sudo apt-get update
3、sudo apt-get install sun-java6-jdk
新安装了ubuntu12.04,安装java的开发环境如下步骤:
1、添加这个源: sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse"
2、sudo apt-get update
3、sudo apt-get install sun-java6-jdk