Computer Knowledge and Tutorials weblog, Computer knowledge, windows, linux, open source, programming, web apps

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:

  1. Download Java, you can find it from here.
  2. Open command line interface on your linux (eg: konsole, xterm etc) and change yourself as root.
  3. Copy the jdk you have downloaded to /opt directory # cp jdk-version-linux-i586.bin /opt
  4. Chmod the file so you could execute it.# chmod +x /opt/jdk-version-linux-i586.bin
  5. 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: , , ,

Google
 

Leave a Reply

164 views