-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken in JDK12 #1
Comments
Oh ok, thanks! I will try to take a look soon. |
Got a bit further, it seems if I get all of the .jar files onto the classpath as per https://sourceforge.net/p/robocode/bugs/407/ at least it doesn't crash. |
That seems to have fixed it. So I guess it just needs adding all of the classpaths to the rr.sh. It was a bit of a pain to debug because the stdout of the subprocesses doesn't get printed :-) |
So it ends up needing something like: RRCP=lib/guava-12.0.1.jar
for f in robocodes/r1/libs/*.jar; do
RRCP=$RRCP:$f
done
java -cp $RRCP ..... |
confirmed from here, robocode bug #407 can be resolved by adding all required jars explicitly. |
Maybe we can do something cleaner than the hack, e.g. |
I tried to run this under OpenJDK12 on Ubuntu 18.04 and Robocode 1.9.3.7, and I'm getting a weird error
It's crashing at
RoboRunner/src/robowiki/runner/BattleRunner.java
Line 66 in 83023c9
processOutput == null ||
it hangs on engine initialization forever.The text was updated successfully, but these errors were encountered: