Re: make-jpkg not working with current Java 1.6 & Faking Java on Linux Distros
On 16/05/2006 02:04:57, Barry Hawkins wrote:
Jeroen and I are indeed maintaining it, and we are interested in the
change, but Java(TM) 6 will be far more relevant when it is
released. Perhaps you could provide information that helps us
understand the benefit you perceive in packaging a beta version of
the JRE/JDK from Sun right now; that may be helpful in allowing us to
determine if that needs to come before things that are in other
wishlist bugs that seem very important, like desktop integration for
Java(TM) WebStart(TM), menu integration for plugin, etc.
Hello :)
Here's just my 2 eurocents...
Java 6.0 has some UI enhancements that are worth trying.
Faster startup (yet more than 5.0) and full double buffering make users
feel the same program better and faster: I let a couple of customers
try the application I develop for them on 6.0 and they where really
impressed.
I'm not deploying my software on 6.0, but I think it's a good point, to
be ready to release software on 6.0 as soon as it's released and start
testing it now.
The same, I think it will be good for Debian to be ready for Java 6.0
right now.
My solution for installing Java on Debian is java-package, what else?
It's so well done and integrated with the system (good work guys! :))
that I never had been in need of extra tweaking to run java
applications.
So I would use java-package for installing 6.0 on my system.
Adapting java-package to 6.0 was nothing more than trivial.
(1)
# cd /usr/share/java-package
# cp -ax sun-j2sdk1.5 sun-j2sdk6.0
(2)
sun-j2sdk.sh is the script that handles the Sun JDK (you know better
than me) and it needs only a few tweaking:
# diff -u sun-j2sdk.sh.orig sun-j2sdk.sh
--- sun-j2sdk.sh.orig 2005-04-22 19:33:46.000000000 +0200
+++ sun-j2sdk.sh 2006-05-16 22:01:28.948657750 +0200
@@ -35,6 +35,11 @@
j2se_expected_min_size=130
found=true
;;
+ "jdk-6-beta"*) # EXPERIMENTAL
+ j2se_version=6.0.0+beta-${archive_name:17:2}
+ j2se_expected_min_size=100
+ found=true
+ ;;
esac
;;
"ia64-linux")
Now make-jpkg handles Java 6.0 Mustang binary snapshots as it dows with
5.0 releases.
$ fakeroot make-jpkg jdk-6-beta2-bin-b84-linux-i586-11_may_2006.bin
...
$ ls sun*
sun-j2sdk6.0_6.0.0+beta-84_i386.deb
All problems with Java 6.0 are Mustang-related (an example, mouse
clicking on table cells is broken one beta release every two) and not
related to packaging with java-package itself.
I'm using this method at least since beta 65 (4-5 months ago) and
possibily before but I cannot remember exactly which was the first beta
I tried.
So I think it's safe to include code for 6.0.
For everything else, good work! Thanks guys! :)
ciao!
gl :)
Reply to: