Results 1 to 5 of 5

Thread: Java - Downgrade to 1.6.0_35

  1. #1
    Join Date
    Mar 2009
    Beans
    3

    Java - Downgrade to 1.6.0_35

    I'm writing a java program in Eclipse, but it turns out that my distro is too recent for the target machine, which is running 6u35.

    How do I downgrade to 1.6.0_35? I went to Oracle's website and the Ubuntu help for installing java and I found out that there's not an easy way to do it for Ubuntu anymore.

  2. #2
    Join Date
    Jun 2009
    Location
    /boot
    Beans
    43
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Java - Downgrade to 1.6.0_35


  3. #3
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Java - Downgrade to 1.6.0_35

    May I ask why you wouldn't simply upgrade the target machine?

    Java 6 reaches EOL in April 2013 (I noticed just now that I need to update the wiki since that has changed since I added that section) and it is also rife with security vulnerabilities.
    The Community Java Wiki * The Community ATI Driver Wiki * Find what you need in the Ubuntu Community wikis

    And seeing the terror on the faces of the people, QIII did speak to them, saying "Fear not the Terminal, for it is a road both swift and secure to the Great Mysteries of Linux without passing through the dangers of The Land of Ten Thousand Competing Desktop Environments."

  4. #4
    Join Date
    Mar 2009
    Beans
    3

    Re: Java - Downgrade to 1.6.0_35

    Target machine isn't mine to upgrade, it belongs to my school.

  5. #5
    Join Date
    Aug 2008
    Beans
    19

    Re: Java - Downgrade to 1.6.0_35

    If you want to use Oracle Java, it should be easy. The hard part is navigating the site to find the distribution you want. But basically, you extract the files and run Java.

    One alternative would be to put a copy of the later version of Java on the target machine. Then use that to run your application. There is no problem with running any number of different versions of Java on the same machine.

    One thing though - you didn't say which version of Java you were starting from. Perhaps if you are on Java 7 and want to run on Java 6, you can just compile with a target of 1.6? If you haven't used Java 7-specific APIs and extensions, that might work for you.

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
  •