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
redhat linux卸载默认的openjdk与安装sun的jdk
redhat enterprise linux 6.1系统中默认安装了openjdk,可是我想用的是sun的jdk。
- 卸载openjdk
- 安装sun的jdk
- 配置环境变量