java help please

Discussion in 'all things UNIX' started by cet, Oct 24, 2011.

Thread Status:
Not open for further replies.
  1. cet

    cet Registered Member

    Joined:
    Sep 3, 2006
    Posts:
    876
    Location:
    Turkey/İzmir
    I decided to uninstall sun java and give openjdk a chance.But when I test java from the sun java website I get a report about using sun java SE 6 update20.

    But I uninstalled sun java completely.This is from the terminal:

    ceylan@ceylan-desktop:~$ java -version
    java version "1.6.0_20"
    OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.04.2)
    OpenJDK Server VM (build 19.0-b09, mixed mode)
    ceylan@ceylan-desktop:~$ update-java-alternatives -l
    java-6-openjdk 1061 /usr/lib/jvm/java-6-openjdk
    ceylan@ceylan-desktop:~$

    Can someone help please!

    Java is working on all the sites I use.No problems so far.But since it shows version 20 does this mean I am not secure?
     
  2. mack_guy911

    mack_guy911 Registered Member

    Joined:
    Mar 21, 2007
    Posts:
    2,677
  3. linuxforall

    linuxforall Registered Member

    Joined:
    Feb 6, 2010
    Posts:
    2,137
    Open JDK is reported as an older version of Sun Java, this isn't a flaw and Open JDK7 now works flawlessly on Ubuntu.
     
  4. cet

    cet Registered Member

    Joined:
    Sep 3, 2006
    Posts:
    876
    Location:
    Turkey/İzmir
    Thanks, I am glad that java does not have flaw.But I could not find a ppa for openJDK 7 for Ubuntu 10.04.There is one ppa but it is for Ubuntu11.01
    So should I stay with the current one or download and install from the link mack-guy has given?
     
  5. linuxforall

    linuxforall Registered Member

    Joined:
    Feb 6, 2010
    Posts:
    2,137

    Cet, that repo contains lots of other stuff that you may wish not to update, just install Open JDK from official repos, since LTS is still supported, any issues will be addressed by updates.
     
  6. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,713
    Location:
    George, S.Africa
    @ linuxforall
    Openjdk unfortunately does not work in our favourite browser (Opera) - it's the damn
    icedtea plugin.
     
  7. mack_guy911

    mack_guy911 Registered Member

    Joined:
    Mar 21, 2007
    Posts:
    2,677
    yes if Openjdk work for you then no problem going with it or alternativly u can download and install jre 7
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.