set JAVA_HOME

This commit is contained in:
Sirius902 2021-02-04 20:52:13 -08:00
parent ed6c483bab
commit d10c58b993
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,7 @@
#!/bin/bash
# Scala will complain if JAVA_HOME isn't set
export JAVA_HOME=/opt/java/jdk-14
cp code.code interim.scala
timeout -s KILL 10 xargs -a args.args -d '\n' scala interim.scala < stdin.stdin