作者devl (魔鬼)
看板Linux
标题[问题] 关於Zerojudge系统Compiler路径设置问题
时间Wed Mar 18 14:47:38 2009
最近我灌了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, 之间的路径可能没设定好
希望各位高手可以帮我解答, 谢谢~
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.200.180