zerojudge解答、ZeroJudge、Zerojudge PTT在PTT/mobile01評價與討論,在ptt社群跟網路上大家這樣說
zerojudge解答在[問題] 關於Zerojudge系統Compiler路徑設置問題 - 看板Linux
作者[問題] 關於Zerojudge系統Compiler路徑設置問題
標題devl (魔鬼)
時間2009-03-18 14:47:38 UTC
最近我灌了Zerojudge系統在Fedora Core 5上面
因為我想要建一個onlinejudge 的server端
但是系統在compiler 程式碼的時候一直出現compiler error
經過一些調整 還是一直出現以下這個error
dl failure on line 685Error: failed/opt/jdk1.6.0_12/jre/lib/i386/client/
libjvm.so because /opt/jdk1.6.0_12/jre/lib/i386/client/libjvm.so: failed to map
segment from shared object : Cannot allocate memory
我想可能是library或是其他什麼的路徑沒有指對地方
測試的程式碼是Hello World (java),是用jdk去compiler
另外如果直接用jdk去run那個程式,是沒有問題的
問題就在於Zerojudge要連接到jdk, 之間的路徑可能沒設定好
希望各位高手可以幫我解答, 謝謝~
--
◆ From: 140.113.200.180