You’d think it would be harder, but it’s not. Not that it’s documented well anywhere, which is why I’m writing this.
- Go to java.com.
- Download the linux RPM installer for your cpu type.
- sh /path/to/downloaded.rpm.bin
- follow the bouncing ball.
And that’s it.
[mycentosvm:~] root# java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
0 Response to “Installing java on CentOS”