
Wonderlijk zijn de Java crash dumps, zoals dit wazig verhaal:
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# V [jvm.dll+0xc95b0]
#
# An error report file with more information is saved as hs_err_pid3120.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Het is de JIT (Just in Time: http://en.wikipedia.org/wiki/Just-in-time_compilation) compiler/interpreter die hier over zijn nek gaat.
NOJIT (-Xint interpreted mode execution only) is dan safer, maar zeker trager, zie:
http://forums.sun.com/thread.jspa?messageID=4063787
Tip: gebruik geen Swing oftewel de awt (http://en.wikipedia.org/wiki/Abstract_Windowing_Toolkit)!
Maak mooie en rijke html code en doe AJAX (http://en.wikipedia.org/wiki/AJAX) updates.
Deze crashes zullen dan niet gebeuren.
Hello world applet (http://java.sun.com/applets/) bouwen, OK.
Maar dan zo snel mogelijk de awt gedag zeggen.

No comments:
Post a Comment