Hi
can anyone help me please? I'm trying to setup a basic robot in Robocode for a college assignment. I did a basic program in eclipse, and set Robocode to initialize from there. Robocode starts up and then crashes. Has anyone every seen this? Please Please Help....Thanks
See the fault below from the console.....
Loaded net.sf.robocode.api
Loaded net.sf.robocode.core
Loading plugins from C:\robocode\libs
Loaded net.sf.robocode.battle
Loaded net.sf.robocode.host
Loaded net.sf.robocode.repository
Loaded net.sf.robocode.sound
Loaded net.sf.robocode.ui
Loaded net.sf.robocode.ui.editor
No robocode.properties. Using defaults.
No robocode.properties. Using defaults.
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by net.sf.robocode.host.security.RobocodeSecurityManager (file:/C:/robocode/libs/robocode.host-1.9.4.5.jar)
WARNING: Please consider reporting this to the maintainers of net.sf.robocode.host.security.RobocodeSecurityManager
WARNING: System::setSecurityManager will be removed in a future release
java.lang.ExceptionInInitializerError
at net.sf.robocode.repository.RepositoryManager.reload(RepositoryManager.java:164)
at net.sf.robocode.ui.WindowManager.showSplashScreen(WindowManager.java:358)
at net.sf.robocode.core.RobocodeMain.run(RobocodeMain.java:124)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private static final java.util.HashMap sun.net.www.protocol.jar.JarFileFactory.fileCache accessible: module java.base does not "opens sun.net.www.protocol.jar" to unnamed module @529abded
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
at net.sf.robocode.io.URLJarCollector.<clinit>(URLJarCollector.java:48)
... 4 more
java.lang.ExceptionInInitializerError
at net.sf.robocode.repository.RepositoryManager.reload(RepositoryManager.java:164)
at net.sf.robocode.ui.WindowManager.showSplashScreen(WindowManager.java:358)
at net.sf.robocode.core.RobocodeMain.run(RobocodeMain.java:124)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private static final java.util.HashMap sun.net.www.protocol.jar.JarFileFactory.fileCache accessible: module java.base does not "opens sun.net.www.protocol.jar" to unnamed module @529abded
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
at net.sf.robocode.io.URLJarCollector.<clinit>(URLJarCollector.java:48)
... 4 more