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

Thread: Are we going to see Java SE 6?

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Beans
    19

    Question Are we going to see Java SE 6?

    Java SE 6 is released and came with lots of new features and a big speed boost. The Distributors License for Java SE 6 is ready so we could expect a version packaged for Ubuntu.

    Java SE 5 was released for Dapper after Dapper was released, so I hope we can install some sun-java6 packages (hopefully along with the sun-java5 packages). Are we going to see sun-java6 packages for Edgy??

    Another question. Why sun-java5 packages are not updated when a new version is released? I installed sun-java5 v1.5.0-06 on Dapper and v1.5.0-08 on Edgy, and now I see v1.5.0-10 on Fiesty. Why v1.5.0-10 is not available for Edgy if it is a bug fix release?

    Anyone has comments?

    Thanks,
    rivas

  2. #2
    Join Date
    Dec 2006
    Location
    Australia
    Beans
    1,097
    Distro
    Xubuntu 15.10 Wily Werewolf

    Re: Are we going to see Java SE 6?

    I very much hope that Fiesty will have JRE6 and JDK6 in its package repositories.

    But realistically speaking, an upgrade to Java 6 is really not that much of a priority at the moment. Most enterprises will not be adapting Java 6 so soon after its release. Therefore, most professional Java programmers will not be working with Java 6 either, unless it is purely for private or non-business use.

    If I had my way, I'd like to see Java 6 JRE and SDK on Feisty. Feisty's release is still some months away, so surely a very significant piece of software like Sun's Java could be packaged for it.

  3. #3
    Join Date
    Dec 2006
    Beans
    19

    Re: Are we going to see Java SE 6?

    You can always install jre-6 manually, by:
    1. uninstalling any previous versions
    2. downloading the new jre-6 from sun http://java.sun.com/javase/downloads/index.jsp
    3. reading the instructions http://java.sun.com/javase/6/webnote...elf-extracting
    4. moving it under /usr/lib/jvm/
    5. chmoding +x the binary (you can't build debs with fakeroot and java-package at the moment)
    6. executing the self-extracting file
    7.(not necessary after post #5) (updating the links of /usr/bin/java and /usr/bin/java_vm to the new java location, since the update-alternatives --config java mechanism for selecting java doesn't work anymore)
    8. updating the mozilla, firefox, swiftfox, opera java plugin links.
    see also the notes from sun about the java plugin http://java.sun.com/javase/6/webnote...ux.html#plugin

    It's better to wait for debian and/or ubuntu to include the new jre-6 in the java-package tool for building the relevant debs, cause then you can use the alternatives mechanism cleanly to select the java you want to work with, and not break your system.
    Last edited by giorgosts; December 16th, 2006 at 12:20 AM.

  4. #4
    Join Date
    Nov 2005
    Beans
    51
    Distro
    Ubuntu 6.10 Edgy

    Re: Are we going to see Java SE 6?

    You can add java 6 to update-alternatives:

    Code:
    sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0/bin/javac 30
    sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0/bin/java 30
    
    sudo update-alternatives --config javac #then choose javac6 
    sudo update-alternatives --config java #choose java6
    Last edited by jan247; September 9th, 2007 at 12:33 AM.

  5. #5
    Join Date
    Dec 2006
    Beans
    19

    Re: Are we going to see Java SE 6?

    Thanks ever so much

  6. #6
    Join Date
    Nov 2005
    Location
    Hungary
    Beans
    49

    Re: Are we going to see Java SE 6?

    I recommend to add this too:
    Code:
    sudo update-alternatives --install /usr/lib/firefox/plugins/libjavaplugin.so firefox-javaplugin.so /usr/lib/jvm/jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so 30
    and then:
    Code:
    sudo update-alternatives --config firefox-javaplugin.so
    and choose a 1.6.
    In Flames We Trust

  7. #7
    Join Date
    Jul 2005
    Location
    London,England
    Beans
    1,022
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Are we going to see Java SE 6?

    it works perfectly if you just run the setup file in /usr/lib/jvm then change the link
    java-1.5.0-sun
    to point to the new 1.6 folder
    Jeremy Clarkson - "A Dazzling Hero of Political Incorrectness"
    My LastFM profile
    want to Give each GTK program its own theme? well look Here

  8. #8
    Join Date
    Oct 2004
    Beans
    87

    Lightbulb Re: Are we going to see Java SE 6?

    Quote Originally Posted by jan247 View Post
    You can add java 6 to update-alternatives:

    Code:
    sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0/bin/javac 30
    sudo update-alternatives --install /usr/bin/javac java /usr/lib/jvm/jdk1.6.0/bin/java 30
    
    sudo update-alternatives --config javac #then choose javac6 
    sudo update-alternatives --config java #choose java6
    You have forgot applets:

    Code:
    sudo update-alternatives --install /usr/bin/javac javac /opt/java/jdk1.6.0/bin/javac 30
    sudo update-alternatives --install /usr/bin/javac java /opt/java/jdk1.6.0/bin/java 30
    sudo update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /opt/java/jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so 30
    
    sudo update-alternatives --config javac # and select ...jdk1.6.0...
    sudo update-alternatives --config java  # and select ...jdk1.6.0...
    sudo update-alternatives --config mozilla-javaplugin.so # and select ...jdk1.6.0...
    In Czech: http://lukas.zapletalovi.com/blog:ja...ubuntu_debianu

  9. #9
    Join Date
    Jun 2005
    Beans
    54

    Re: Are we going to see Java SE 6?

    Quote Originally Posted by giorgosts View Post
    You can always install jre-6 manually, by:
    .......
    7.(not necessary after post #5) (updating the links of /usr/bin/java and /usr/bin/java_vm to the new java location, since the update-alternatives --config java mechanism for selecting java doesn't work anymore)
    ......
    thanks! Thats pretty much the hint I needed to complete my JAVA JRE 6.0 installation!

  10. #10
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Are we going to see Java SE 6?

    Quote Originally Posted by samjh View Post
    realistically speaking, an upgrade to Java 6 is really not that much of a priority at the moment. Most enterprises will not be adapting Java 6 so soon after its release. Therefore, most professional Java programmers will not be working with Java 6 either, unless it is purely for private or non-business use.
    That's utter BS!

    Many enterprises will want to start using java 6 within a year, which means that the branch of that version will either have been created already or be created very soon, and at that point the developers (such as myself) will need java 6. Sure that we won't start using our java 6 based system until 2007 Q3 or Q4, but we start making it now.

    Still, even if I would want java 6 purely for private or non-business use, why should I have to go through hoops of manually installing it in a non-ubuntu (or should I say non-debian) way? Your contempt for "private" and "non-business" users make me sick.

    Still, even if you completely disregard both private/non-business users and early-adopting professionals/enterprise developers I still don't understand why java 6 can't be added alongside java 5. Since there already are java 6 packages for feisty, what reason could there possibly be for not having java 6 packages also in edgy and dapper?

    The latest dapper java is 1.5.0_06 FFS! "Long term support" my ass!!!

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
  •