Wednesday, December 21, 2011

Install Sun Java 6 SDK on Xubuntu 11.10

Since 11.10 (X)Ubuntu does not provide the sun-java-jdk package, to install it open a terminal window and type:

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin


References:
http://superuser.com/questions/353983/how-do-i-install-the-sun-java-sdk-in-ubuntu-11-10-oneric

5 comments:

  1. oh my god ive been using this os for like 6 months and nowhere else had the answer to how to get sun java

    ReplyDelete
  2. I prefer to use the same openJDK. I have no problem with it.

    ReplyDelete
  3. oracle's java is discontinued in most of the major distros (ubuntu, debian vs.) i use openjdk and had no issues with it, so far. we must embrace openjdk, for oracle is going on in not-so-free-software with java.

    ReplyDelete
    Replies
    1. I agree, but I had some issues running a few apps with OpenJDK.

      Delete