graybull's Blog
ubuntu install sun jdk 1.7
- download jdk-7u25-linux-x64.tar.gz from oracle site.
- unpack jdk-7u25-linux-x64.tar.gz
- Install it. Actually, you needn't install it, just copy the directory to a specified place.
$ sudo mkdir /usr/local/java
$ sudo cp jdk1.7.0_25 /usr/local/java
更新ubuntu12.04源
- 打开源配置文件
$ sudo vi /etc/apt/sources.list
- 添加以下源到文档末尾
见文末。
- 执行更新
$ sudo apt-get update