How to install Java in OpenSuse
As you know, open suse 11 is already released. Now i would like to try to install java on OpenSuse. Here’s the steps:
- Download Java, you can find it from here.
- Open command line interface on your linux (eg: konsole, xterm etc) and change yourself as root.
- Copy the jdk you have downloaded to /opt directory # cp jdk-version-linux-i586.bin /opt
- Chmod the file so you could execute it.# chmod +x /opt/jdk-version-linux-i586.bin
- Execute the installer. ./opt/jdk-version-linux-i586.bin
If you found mistakes on your installation, probably you should remove the as-is /usr/bin/java by executing # rm /usr/bin/java. After that force the path by executing # ln -s /opt/jdk1.6.0_05/bin/java /usr/bin/java.
TAgs: java, java development kit, jdk, install jdk on linux