Google Plus

Install Openjdk7 in Ubuntu 11.10

Written by Mel Kham on . Posted in Linux tutorials

The “sun-java6″ package is no longer available in the official Ubuntu 11.10 Oneiric Ocelot repositories.   Lets  show  you  some  ways  How  to install  java  in your  Ubuntu 11.10

 

 

- Install OpenJDK 7.0:

sudo apt-get install openjdk-7-jre

- you can still use Java 6 from the  ferramroberto PPA:

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

 

Install  Java 7 Browser plugin

All  browsers  are looking   for  java  plgins  under    this  directory   ~/.mozilla/plugins .

a simbolic link for the newly installed Java into the Mozilla plugins directory:

- 32bit:

mkdir -p ~/.mozilla/plugins
ln -s /usr/lib/jvm/jdk1.7.0/jre/lib/i386/libnpjp2.so ~/.mozilla/plugins/

 

- 64bit:

mkdir -p ~/.mozilla/plugins
ln -s /usr/lib/jvm/jdk1.7.0/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/
For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • Forage

    Why are you calling this article "Install Oracle Java 7…" while the steps you mention install "OpenJDK 7.0" instead?
    It’s just plain wrong, Oracle Java is not the same as OpenJDK.

  • angrydouchebag

    The poster is a fu**ing idiot. This isnt for Oracle java.. fu**ing dumbass

  • conan

    openjdk !!!! what r u thingking about???

  • yourass

    DUMB ASSHOLE>> WRONG INFOI YOU DOUCHEBAG>

    • gggg

      fukin idiot oust malaka

  • http://profiles.google.com/gregorypierce Gregory Pierce

    Should also be noted that for development the command is:

    sudo apt-get install openjdk-7-jdk

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

SK

|

Andrew look into your httpd.conf file at line no 350. There might be a syntax error.

andrew

|

hello I have this error

[root@cloud html]# /etc/init.d/httpd restart

then this appears

Starting httpd: httpd: Syntax error on line 350 of /etc/httpd/conf/httpd.conf: without matching section.

plz tell how to fix this.

SK

|

I am working on it. Stay tuned. Thanks for the comment.

adriana rizzati

|

You are right, I saw them just now and they are awesome!

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .