Install Java and Java browser plugin ubantu 11.10


Oracle’s Java 6 and 7.

Ubuntu 11.10 does not offer Oracle’s Java because OpenJDK can now replace it.

However you can install Oracle’s Java 6.2 from this PPA (Private Package Archive).
Please see ppa:flexiondotorg/java…

sudo add-apt-repository ppa:flexiondotorg/java
sudo apt-get update
sudo apt-cache search sun-java6
sudo apt-get install –reinstall sun-java6-jre sun-java6-plugin sun-java6-fonts

Then set java-6-sun as default. Choose java-6-sun/jre/ from the list. This step is important:
sudo update-alternatives –config java

This command does it directly without asking:
sudo update-alternatives –set java /usr/lib/jvm/java-6-sun/jre/bin/java

 

if above bold command is giving error then use blow that must be work(i wasted my 2 days on it)

sudo apt-get install –reinstall sun-java6-jre sun-java6-plugin sun-java6-fonts sun-java6-bin gsfonts-x11 unixodbc odbcinst1debian2 odbcinst

Advertisements

One thought on “Install Java and Java browser plugin ubantu 11.10

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s