1.已设置jdk环境变量,直接输入java,javac等可以运行
2.错误提示
ljudge --max-cpu-time 1.0 --max-memory 32m --user-code Main.java --testcase --input 1.in --output 1.out --testcase --input 2.in --output 2.out warning: /etc/golang/ does not match any directories and is ignored warning: /etc/fpc*.cfg does not match any files and is ignored warning: /etc/dmd.conf does not match any files and is ignored warning: /etc/mono/ does not match any directories and is ignored warning: /etc/racket/ does not match any directories and is ignored warning: /opt/ghc/ does not match any directories and is ignored /run/lrun/mirrorfs/e07281060ec89a810bdaaf0a391bacece27cda28 { "compilation": { "error": "lrun exited with non-zero (14)\nERROR: exec 'javac' failed (No such file or directory)", "log": "", "success": false } }
1.已设置jdk环境变量,直接输入java,javac等可以运行 2.错误提示
ljudge --max-cpu-time 1.0 --max-memory 32m --user-code Main.java --testcase --input 1.in --output 1.out --testcase --input 2.in --output 2.out warning: /etc/golang/ does not match any directories and is ignored warning: /etc/fpc*.cfg does not match any files and is ignored warning: /etc/dmd.conf does not match any files and is ignored warning: /etc/mono/ does not match any directories and is ignored warning: /etc/racket/ does not match any directories and is ignored warning: /opt/ghc/ does not match any directories and is ignored /run/lrun/mirrorfs/e07281060ec89a810bdaaf0a391bacece27cda28 { "compilation": { "error": "lrun exited with non-zero (14)\nERROR: exec 'javac' failed (No such file or directory)", "log": "", "success": false } }