The game engine seems to crashing

Followed the instruction on how to get the starter bot up and running, and this is the error I get:

Active code page: 65001

C:\Users\Hemant Vallabh\Desktop\starter-pack>java -Dfile.encoding=UTF-8 -jar ./game-runner-4.0.0-jar-with-dependencies.jar
Unable to get Charset ‘cp65001’ for property ‘sun.stdout.encoding’, using default UTF-8 and continuing.
Exception in thread “main” java.lang.NoSuchFieldException: scl
at java.base/java.lang.Class.getDeclaredField(Class.java:2417)
at za.co.entelect.challenge.engine.bootstrapper.GameBootstrapper.setupSystemClassloader(GameBootstrapper.java:136)
at za.co.entelect.challenge.engine.bootstrapper.GameBootstrapper.main(GameBootstrapper.java:37)

Am I missing something?

Hi, @Mystic I am not entirely sure what is going on here.

Can you maybe give us more details such as Java version and did you run this on Windows or Linux?

I’m using windows 10 and the java version is 12.0.1.

@Mystic We only support the LTS versions of Java so you will need to use either Java 8 or Java 11.

Thank you. I used java 11 and it is working now.

1 Like