Subject: kern/36505: java doesn't work anymore
To: None <email@example.com, firstname.lastname@example.org,>
From: Bernd Ernesti <email@example.com>
Date: 06/17/2007 11:55:00
>Synopsis: java doesn't work anymore
>Arrival-Date: Sun Jun 17 11:55:00 +0000 2007
>Originator: Bernd Ernesti
>Release: NetBSD 4.99.20
System: NetBSD 4.99.20 as of 2007-06-17 11:00 UTC
The postinstall script of the java 1.5 packages fails to create the
classes.jsa file. This happend with the NetBSD native version, but the
same command line option fails with the linux version too.
I still have the linux package installed where the classes.jsa file
was created during the installation, but running the same command now
cause it to fail, so this is not a pkgsrc problem.
Andrew Doran mentioned this:
With -client -Xshare:dump it works? Perhaps something has changed around how
much memory is reported to Java.
It works with the '-client' option.
Run the following command, but remember to not do it as root, otherwise
it will recreate a jsa file if it works:
This will result in the following output:
Error occurred during initialization of VM
Dumping a shared archive is not supported on the Server JVM.
Loading classes to share ... done.
Rewriting and unlinking classes ... done.