Skip to content
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.

在判java题时报错 #19

Open
simonkimi opened this issue Nov 11, 2019 · 0 comments
Open

在判java题时报错 #19

simonkimi opened this issue Nov 11, 2019 · 0 comments

Comments

@simonkimi
Copy link

simonkimi commented Nov 11, 2019

系统版本 Ubuntu18.04.3
java版本:

openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode, sharing)

runcfg:

{
	"args": ["java", "./judge/0561e20b5577d0affdeee205975d9279/Main"],
	"fd_in": 4,
	"fd_out": 5,
	"timelimit": 5000,
	"memorylimit": 20000
}

运行时出现错误:

Error: failed /usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so, because libm.so.6: failed to map segment from shared object

直接使用 java ./judge/0561e20b5577d0affdeee205975d9279/Main是可以正常运行的
请问该如何处理才能运行出正确答案?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant