星期日, 5月 31, 2009

Ubuntu 9.04 use java.....libc.so.6 failed!

如果,你把 os 更換成 Ubuntu 9.04 amd64....
如果,你需要執行 java 應用程式,有畫面的.....
如果,你每次執行 java 程式的時候都會出現類似以下的錯誤.....

#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002b7e03444df0, pid=20562, tid=1076017488
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_03-b05 mixed mode)
# Problematic frame:
# C [libc.so.6+0x79df0] memset+0x60
#
# An error report file with more information is saved as hs_err_pid20562.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#


本來,在 Ubuntu 8.10, 32bit 中,讓我 java 程式可以跑的方式
到 64bit 竟然是元兇!!!

參考這篇文章
Ubuntu 8.10 重新安裝,我會做的步驟

請把 AWT_TOOLKIT=MToolkit 移掉!
你就可以很快樂的執行了~ 靠! 我可是不快樂了很久~~~


沒有留言:

張貼留言

Powered By Blogger