Closed 13rj115 closed 7 years ago
@13rj115
I CANNOT reproduce this problem.
According to MSDN, Code:87 represents:
ERROR_INVALID_PARAMETER
87 (0x57)
The parameter is incorrect.
Please show me the logs of judger, which can be find in logs
directory, for example:
[INFO] 2017-03-07 11:28:23,688 [ActiveMQ Session Task-24] org.verwandlung.voj.judger.core.Compiler - Start compiling with command: g++ -O2 -s -Wall -std=c++11 -o /tmp/voj-1151/ZyZHnEVrbuNc.exe /tmp/voj-1151/ZyZHnEVrbuNc.cpp -lm -D__asm=error
Also please check your voj.properties
that username and password has been set correctly.
Thank you.
感谢你的解答,确实是参数问题,我Windows账号密码没设,现在可以运行了。
Exception in thread "main" java.lang.Error: API: CreateProcess Code: 87 Message: ²ÎÊý´íÎó¡ at org.verwandlung.voj.judger.core.Runner.getRuntimeResult(Native Method) at com.zufe.teach.test.main(test.java:14) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)