View Full Version : Java 6 Update 2
samjh
July 6th, 2007, 09:13 PM
Just wondering what the release schedule is for Java 6 updates?
We've skipped update 1, and update 2 has just been released. Are there any plans to bring to the sun-java6-* packages up to date, or is this going to be put off until the Gibbon release?
DarkStarAeon
July 13th, 2007, 10:43 PM
Yeah I'd really like to install update 2 for Java 6 since there is a security patch in it. Can't find any info on how to install it.
Gausian
July 15th, 2007, 09:19 AM
check the java website......they have instructions there
DarkStarAeon
July 15th, 2007, 11:19 AM
Tried that first. didn't work out. That's why I was wondering if there was a better way to do it.
randiroo76073
July 16th, 2007, 10:09 AM
Try using Automatix2, I think that'll get you the current Java :)
http://www.getautomatix.com/
DarkStarAeon
July 16th, 2007, 04:03 PM
Ah cool, thanks :)
growltiger
July 18th, 2007, 08:15 PM
Whether I use synaptics or automatix2 or just apt-get, I do not get this version of Java: 1.6.0_02 (build 1.6.0_02-b05). Instead, I always get 1.6.0 (build 1.6.0-b105).
If I try to make-jpkg from the Sun download, I get this result:
$ fakeroot make-jpkg jdk-6u2-linux-i586.bin
Creating temporary directory: /tmp/make-jpkg.ggLoS25962
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh ibm-j2sdk.sh j2re.sh j2sdk-doc.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk-doc.sh sun-j2sdk.sh
Detected Debian build architecture: i386
Detected Debian GNU type: i486-linux-gnu
No matching plugin was found.
Removing temporary directory: done
Any ideas on how to fix this?
growltiger
July 19th, 2007, 11:55 AM
I found that if I took rev 31 of java-packages (found here: <https://launchpad.net/ubuntu/gutsy/+source/java-package/0.31>, I could install Java 6u2.
DriftingDutchman
July 20th, 2007, 11:38 PM
Could you please let us know how to install rev 31 of java-packages as you suggested?
Asham
July 24th, 2007, 05:31 AM
I was under the impression that the applications in the repository lists were to be automatically updated every once in a while. That appears to apply to some of the apps while others are left out. What is the deciding factor and what can be done to improve the current situation?
smartboyathome
July 24th, 2007, 10:09 AM
The apps in Universe are only updated if they have a maintainer in the community. Same with Multiverse. If anyone wants this package, they will have to compile and subit it. Then (if they want) they can maintain it and keep Java up to date.
Asham
July 24th, 2007, 11:02 AM
Ok, I didn't know that. Does it mean anyone can contribute - could I (if I had more knowledge)? Linux is feeling a little foreign to me still and I know I am not *there* yet, but if I would want to read more about this, where would I start?
smartboyathome
July 24th, 2007, 11:11 AM
If you want to start packaging, you should try the debian new maintainer's guide (http://www.debian.org/doc/maint-guide/) or the ubuntu packaging guide (http://doc.ubuntu.com/ubuntu/packagingguide/C/) (personally I would go with the ubuntu one). Both have the same info, they are just worded differently.
Seisen
July 24th, 2007, 12:39 PM
Just wondering what the release schedule is for Java 6 updates?
We've skipped update 1, and update 2 has just been released. Are there any plans to bring to the sun-java6-* packages up to date, or is this going to be put off until the Gibbon release?
As of right now they are sitting in the Gutsy repo's so they may not be put into the Feisty repos but who knows.
eitan
July 31st, 2007, 06:07 PM
that kind of sucks. given that they had mr shuttleworth on stage last year at javaone saying that sun and ubuntu would work together to bring the latest java to the ubuntu platform.
it's kind of sad that they can't muster the resources necessary to keep java up to date in the repositories.
it's nice that they're up to date in the gutsy repository but it's no excuse for not putting them in the feisty repo's. actually it makes it worse: it means someone already did the work of packaging java6u2 but didn't bother to update feisty. that really sucks. sorry for the bad karma.
/ eitan
DriftingDutchman
August 1st, 2007, 04:27 AM
Especially since the version in feisty has security issues and from personal experience I can say major memory leaks as well.
Chudilo
August 1st, 2007, 05:23 PM
So as far as you know, no one is working on creating a build of Java 6.0.1 for Feisty just because Sun's bin file can easily be converted to a deb , and then installed.
Even though it is known that it is required to get Java applications to be displayed in Compiz properly. What happened to the "linux for human beings" thing? Or has this come out of Suns promise to ensure full compatibility with Ubuntu, and people are waiting for sun to provide a special link for an Ubuntu specific .deb ?
Any insight into the situation will be appreciated.
DriftingDutchman
August 2nd, 2007, 02:14 AM
I would like to use Java 6 on a Ubuntu production server soon-ish. Normally Sun's VM's are pretty good, but this time they messed up with 1.6.0.0. So now I am left with a few bad options:
-Use Feisty's version: the VM _will_ crash after a while due to memory leaks.
-Use Alien to repackage Sun's rpm: no idea whether it will subtly break things, and I have seen several claims that it is a bad idea.
-Use Sun's .bin file: no idea whether it will subtly break things.
-Change distros: I would rather stay with Ubuntu and it's also the one I know best.
-Try to package my own .debs: no idea whether it will subtly break things.
-Try to use Gutsy's repositories: add them to the repository list, do an update, install the Java6 packages, remove the Gutsy repository lines: no idea whether it will subtly break things now or messes up my package management enough to no longer support some future Feisty updates.
I would guess that the last option is best.. that is - if I knew (for sure) what I was doing..
Any help would be appreciated.
Seisen
August 2nd, 2007, 07:59 AM
The last option isn't good because you should never mix repo's like that, it will cause major headaches.
VFiend
August 2nd, 2007, 09:57 PM
See security vulnerability at launchpad: https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/126059
Basically Sun/Canonical don't seem concerned about bringing security updates to Feisty's Java even though they were trumpeting how great the cooperation was when Feisty was released.
AndriusBurokas
August 3rd, 2007, 08:08 AM
Hey everybody, I found pretty cool explanation on how to upgrade from Java 6.0.0 to Java 6.0.2. The provided script is self explanatory, You can use only the needed parts of it, but I can verify that it worked for me :)
Here is the link:
http://www.osdevel.org/blog/1/240/
S1l3nt_Hunt3r
August 3rd, 2007, 08:24 AM
Hey everybody, I found pretty cool explanation on how to upgrade from Java 6.0.0 to Java 6.0.2. The provided script is self explanatory, You can use only the needed parts of it, but I can verify that it worked for me :)
Here is the link:
http://www.osdevel.org/blog/1/240/
Thanks! I will try at home.
But before I have some questions: In the script there is this comment:
# This script installs and configures the JDK 1.6 Update 2 on your Ubuntu 7.04
I don't want to install the JDK, because i don't need it.
Do this script work for the JVM install process?
AndriusBurokas
August 3rd, 2007, 09:10 AM
I don't want to install the JDK, because i don't need it.
Do this script work for the JVM install process?
Well, the script is talking about JDK only, but also as You know the JDK version includes JRE, so if You will ever want to write a program in Java You'll already have the JDK at your side.
In other words I think it's the best option, we poor Ubuntu users can have - this script makes use of the latest java release, so why not to use it.
P.S. I can verify that it works for Kubuntu too.
Seisen
August 3rd, 2007, 01:28 PM
Or you guys can wait two months until Gutsy comes out, patience....................
Chudilo
August 3rd, 2007, 03:29 PM
I don't think there are updates in Gutsy that would make the newer version of Java run better? However as far as I know java 6.0.1 is required to display Java Swing components in Compiz properly.
EDIT: Java programs can be fixed to display properly under Compiz by adding
"export AWT_TOOLKIT=MToolkit"
Into the script that starts the program, or into /etc/environment to make it global for all Java programs
Asham
August 3rd, 2007, 06:21 PM
Or you guys can wait two months until Gutsy comes out, patience....................
Will it not be exactly the same if or when an update is released for Gutsy? Or is the current situation specific for Feisty? I am asking since I have not been around long enough to know for myself.
I gave the packaging resources that were posted a brief reading but it became obvious that I need to learn the basics much more in detail. I hardly know any commands besides from ls.:lolflag:
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.