Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Java Runtime Environment (JRE) 6

  1. #1
    Join Date
    Sep 2005
    Beans
    762

    Java Runtime Environment (JRE) 6

    It's out now:
    Java Runtime Environment (JRE) 6

    http://java.sun.com/javase/downloads/index.jsp

  2. #2

    Re: Java Runtime Environment (JRE) 6

    I wonder if -- or when -- it will hit the repositories?
    Ubuntu user #7247 :: Linux user #409907
    inconsolation.wordpress.com

  3. #3
    Join Date
    Apr 2006
    Location
    Chicago
    Beans
    1,406
    Distro
    Ubuntu

    Re: Java Runtime Environment (JRE) 6

    How do you install with out the .deb, Also will this java make java apps "faster" the current one drags *** with apps like azureus

  4. #4
    Join Date
    Jan 2006
    Location
    Virginia
    Beans
    1,870

    Re: Java Runtime Environment (JRE) 6

    hanzomon4:

    Download the .bin file to your home folder, then, pull up the ever-handy shell:

    Code:
    chmod +x j??-6-linux-*.bin
    sudo ./j??-6-linux-*.bin
    sudo cp j??1.6.0 /usr/lib/jvm/java-1.6.0-sun
    sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/java-1.6.0-sun/jre/bin/java" 1
    sudo update-alternatives --set java /usr/lib/jvm/java-1.6.0-sun/jre/bin/java
    I'd think that would be copy and pastable. I'd think, what a silly thing to do.
    "I refuse to be part of a society that encourages the rampant abuse of its own language." ~ The Black Mage

  5. #5
    Join Date
    Dec 2005
    Location
    Tucson, Arizona
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Java Runtime Environment (JRE) 6

    i cant wait until java comes preinstalled in ubuntu and other distros now that it is open sourced

    but this will hold me over for now
    Jabber: markgrandi[at]gmail.com

  6. #6
    Join Date
    Nov 2005
    Location
    Germany
    Beans
    12

    Re: Java Runtime Environment (JRE) 6

    Quote Originally Posted by Polygon View Post
    i cant wait until java comes preinstalled in ubuntu and other distros now that it is open sourced
    AFAIK java 6 isn't open sourced, the opened the java 7 tree.

    Anyway, as long as some important parts are missing (I'm thinking of the whole classpath) it would be senseless to include the opened java.

    So I think it'll take a long time for open source java to hit the repos.

    Edit: I used this to install it. Worked great with the correct filename.
    Last edited by Boris2; December 12th, 2006 at 10:44 AM.

  7. #7
    Join Date
    Mar 2006
    Beans
    205
    Distro
    Hardy Heron (Ubuntu Development)

    Re: Java Runtime Environment (JRE) 6

    It'd be nice if someone who's done this can write a shell script

  8. #8
    Join Date
    Feb 2005
    Location
    Umeå, Sweden
    Beans
    733
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Java Runtime Environment (JRE) 6

    Does anyone experiance any performance gain using Java 6?
    My cross-platform python modules for PVA or population simulation https://code.google.com/p/nobones/, written in Ubuntu!

  9. #9
    Join Date
    Nov 2005
    Location
    Germany
    Beans
    12

    Re: Java Runtime Environment (JRE) 6

    Quote Originally Posted by Kimm View Post
    Does anyone experiance any performance gain using Java 6?
    I havenät tested, but there should be, because HotSpot was signifantly improved:
    http://weblogs.java.net/blog/opinali..._hotspo_1.html

    Quote Originally Posted by GarethMB View Post
    It'd be nice if someone who's done this can write a shell script
    Download this patch. (No guarantee for this to work, use at your own risk)
    Code:
    cd /usr/share/java-package/
    sudo patch -p 1 </path/to/java-package_mustang.txt
    cd
    fakeroot make-jpkg jdk-6-linux-i586.bin
    sudo dpkg -i sun-j2sdk6.0_6.0.0_i386.deb
    sudo update-alternatives --config java
    sudo update-alternatives --config javac
    sudo update-alternatives --config jar
    # etc
    Attached Files Attached Files
    Last edited by Boris2; December 14th, 2006 at 10:21 AM. Reason: added a sudo

  10. #10
    Join Date
    Apr 2005
    Location
    Buenos Aires, A
    Beans
    50

    Re: Java Runtime Environment (JRE) 6

    Following Kuja's procedure, I did some minor changes to the steps in his code that didn't work for me. This is the code that I used:

    Code:
    chmod +x j??-6-linux-*.bin
    sudo ./j??-6-linux-*.bin
    sudo mkdir /usr/lib/jvm
    sudo mkdir /usr/lib/jvm/java-1.6.0-sun
    sudo cp j??1.6.0 /usr/lib/jvm/java-1.6.0-sun/jre -r
    sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/java-1.6.0-sun/jre/bin/java" 1
    sudo update-alternatives --set java /usr/lib/jvm/java-1.6.0-sun/jre/bin/java
    java -version
    You will have to accept sun's license.
    This worked fine in a clean Edgy install. Thanks Kuja for your help!

Page 1 of 2 12 LastLast

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
  •