Results 1 to 8 of 8

Thread: Can't install Sun java 5 JDK in Karmic Koala

  1. #1
    Join Date
    Oct 2004
    Beans
    3

    Exclamation Can't install Sun java 5 JDK in Karmic Koala

    I can't install sun-java5-jdk package in the latest Karmic Koala beta release. It gives me the next message.

    $ sudo apt-get install sun-java5-jdk
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package sun-java5-jdk is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package sun-java5-jdk has no installation candidate


    I really need the Java 5 version of the JDK for development and testing, and like me there should be a lot of users.

  2. #2
    Join Date
    Jan 2008
    Beans
    1

    Re: Can't install Sun java 5 JDK in Karmic Koala

    Get java5 from the Jaunty repository.

    Java5 should be put back in the Karmic repository. I too have a project that only works on Java5 and apparently I'm not alone.

    I did see this tidbit:
    http://osdir.com/ml/ubuntu-archive/2.../msg00004.html

    So to get the repo for java5 add these lines to your /etc/apt/sources.list

    deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

    Steveolyo

  3. #3
    Join Date
    May 2007
    Location
    Bolton, UK
    Beans
    668

    Re: Can't install Sun java 5 JDK in Karmic Koala

    Can you not use Java 6?

    Support can't be maintained forever on a particular version... security issues, bugs and all.

  4. #4
    Join Date
    Sep 2007
    Beans
    119
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Can't install Sun java 5 JDK in Karmic Koala

    Quote Originally Posted by steeleyuk View Post
    Can you not use Java 6?

    Support can't be maintained forever on a particular version... security issues, bugs and all.
    Unfortunately no. If Java 5 JDK is not there, Karmic will be taboo for many Java developers (like me).

  5. #5
    Join Date
    Oct 2004
    Beans
    3

    Re: Can't install Sun java 5 JDK in Karmic Koala

    Quote Originally Posted by steeleyuk View Post
    Can you not use Java 6?

    Support can't be maintained forever on a particular version... security issues, bugs and all.
    Unfortunately I can't work with Java 6. I have develop and test all my work in Java 5.
    If I can't have Java5 in Karmic I won't upgrade to it, as I'm sure many Java developers won't.

  6. #6
    Join Date
    Mar 2006
    Location
    Portland, Oregon
    Beans
    34
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Can't install Sun java 5 JDK in Karmic Koala

    I just went to java.sun.com and downloaded JDK 1.5.0_21 for linux. I then installed that under Karmic (into my home folder). By pointing JAVA_HOME at the install directory, Java 5 works fine for me in compiling and executing my application, along with ant, junit, etc.

  7. #7
    Join Date
    May 2009
    Beans
    303

    Re: Can't install Sun java 5 JDK in Karmic Koala

    As rickh57 said, get it from java.sun.com, I have a backup copy just in case they require subscription for such old stuff. Anyway Java 5 is already the IE6 of browsers, people should really drop it dead, Apple also upgraded long ago to Java 6.
    Imho Java EE 5 can and should be used with Java (JRE) 6
    Also Java 5 had lots of rendering issues as well as printing issues unresolved (on Ubuntu and Linux in general).
    Nautilus - the champion of sluggishness and HDD trashing.

  8. #8
    Join Date
    Aug 2006
    Location
    New Haven, CT, USA
    Beans
    197
    Distro
    Ubuntu Development Release

    Re: Can't install Sun java 5 JDK in Karmic Koala

    JDK 5 will no longer be supported by Sun by the time Karmic is released. See http://java.sun.com/javase/downloads/index_jdk5.jsp
    J2SE 5.0 is in its Java Technology End of Life (EOL) transition period. The EOL transition period began April 8th, 2008 and will complete October 30th, 2009, when J2SE 5.0 will have reached its End of Service Life (EOSL). Customers interested in learning more about Sun's Java Technology Support and EOL policy. »Read More
    Customers interested in continuing to receive critical fixes, are encouraged to consider the following options:

    * Migrate to the latest Java SE release »Read More
    * Migrate to Java SE for Business 5.0 »Read More

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •