Haven’t had time yet to look at the versions you mention but I did get a response to my mail to the JPackage.org mailing list. I’ll repeat it here to see what you think (I have to little experience with these things to be able to determine if what he says is reasonable or not):
[quote]> I haven’t figured out why but I did find what was causing the
slowdown: the symbolic link from /usr/java/jdk1.6.0/lib/i386 to
/usr/lib
Isn’t this link necessary? It seems a bit too much to include all
libraries from /usr/lib to the Java native library path
I disagree about this - IMO system libraries should be available to Java just
like all other languages. The alternative without the symlink is to play
$LD_LIBRARY_PATH tricks which are even worse, and would most likely lead to
the same plus possibly other problems. And they possibly need to be made on
per application basis (which sucks when we’re dealing with a jar-only thing
that requires those native libs - there’s no way to do the equivalent of
$LD_LIBRARY_PATH eg. in jar manifests).
This is an area which has some room for standardization, and I hope the
GPL’ing of Java will let vendors to ship VM’s sanely configured with regards
to native system libs. I believe some (GCJ, IBM, Blackdown) already are
though - the symlink added in the -compat package brings the Sun VM up to par
with the mentioned others.
although I
must admit I don’t see why it causes problems in this particular case
because the JOGL libraries cannot be found there. It must be some
other library that causes a problem.
Just a guess, but perhaps there’s a vendor specific hardware accelerated
OpenGL library somewhere else than /usr/lib (but still in the runtime
linker’s default path, maybe through /etc/ld.so.conf*), and the symlink above
causes the JVM load an unaccelerated software implementation from /usr/lib.
If this is the case, I suppose adding the dir where the hardware accelerated
one is to $LD_LIBRARY_PATH could help.
[/quote]