I did a few more tests on sun-java6-bin.postinst and found that this line:
/usr/lib/jvm/java-6-sun-1.6.0.10/bin/java -Xshare:dump -client -Xshare:dump -Xmx256m -XX:PermSize=128m
hangs the instance. Removing "-Xmx256m" will fix it:
/usr/lib/jvm/java-6-sun-1.6.0.10/bin/java -Xshare:dump -client -Xshare:dump -XX:PermSize=128m
I hope this bug can be fixed. Our company now has to build our own java6 package with modified postinst.
I did a few more tests on sun-java6- bin.postinst and found that this line:
/usr/lib/ jvm/java- 6-sun-1. 6.0.10/ bin/java -Xshare:dump -client -Xshare:dump -Xmx256m -XX:PermSize=128m
hangs the instance. Removing "-Xmx256m" will fix it:
/usr/lib/ jvm/java- 6-sun-1. 6.0.10/ bin/java -Xshare:dump -client -Xshare:dump -XX:PermSize=128m
I hope this bug can be fixed. Our company now has to build our own java6 package with modified postinst.