![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Repositories & Backports Need help with apt-get and updating Ubuntu? Post here.. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Jan 2005
Beans: 19
|
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 |
|
Dark Roasted Ubuntu
![]() Join Date: Dec 2006
Location: Australia
Beans: 1,076
|
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 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2006
Beans: 18
|
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 15th, 2006 at 07:20 PM.. |
|
|
|
|
|
#4 | |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2006
Beans: 18
|
Re: Are we going to see Java SE 6?
Quote:
|
|
|
|
|
|
|
#5 |
|
Just Give Me the Beans!
![]() Join Date: Nov 2005
Beans: 51
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 8th, 2007 at 07:33 PM.. |
|
|
|
|
|
#6 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2006
Beans: 18
|
Re: Are we going to see Java SE 6?
Thanks ever so much
|
|
|
|
|
|
#7 |
|
Just Give Me the Beans!
![]() 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 Code:
sudo update-alternatives --config firefox-javaplugin.so
__________________
In Flames We Trust |
|
|
|
|
|
#8 |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() Join Date: Jul 2005
Location: London,England
Beans: 947
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 |
|
|
|
|
|
#9 |
|
5 Cups of Ubuntu
![]() |
Self made package is very easy...
As I am a java developer I need the sdk. So here is my howto for installing the j2sdk. The jre has got less tools to update in the alternatives.
Repository packages you'll need
Install the patched java-package Download the patched java-package from this post or my attachment below. Untar it Code:
tar xvfz java-package-0.28ubuntu1.tar.gz Code:
sudo dpkg -i java-package_0.28ubuntu1_all.deb Download Java 6 from sun and cd into the same directory. Now issue Code:
fakeroot make-jpkg jdk-6-linux-i586.bin Code:
sudo dpkg -i sun-j2sdk1.6_1.6.0_i386.deb general for jre Code:
sudo update-alternatives --config java sudo update-alternatives --config javaws sudo update-alternatives --config firefox-javaplugin.so Code:
sudo update-alternatives --config javac sudo update-alternatives --config rmiregistry sudo update-alternatives --config rmic sudo update-alternatives --config rmid for sun java Code:
ls -la /etc/alternatives/ | grep j2 Code:
ls -la /etc/alternatives/ | grep java
__________________
lenovo thinkpad t61 6457CTO, 4GB, core2duo @2.4 GHz, hardy final 64 bit. Registered Linux User Last edited by olaf-g; December 20th, 2006 at 07:16 AM.. Reason: attached java-package patched |
|
|
|
|
|
#10 | |
|
Gee! These Aren't Roasted!
![]() |
Re: Self made package is very easy...
failed here :
after doing this Quote:
|
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|