-
Hi All, First of all this is a great API. Next off I'm trying to build an RL robot in robocode using DJL but getting a bit stuck because of robocode's security manager which prevents the Engine reading the environment variable DJL_DEFAULT_ENGINE, I think also it may be prevented accessing the java property ai.djl.default_engine as well. Preventing test.BaseRLRobot* from access: ("java.lang.RuntimePermission" "getenv.DJL_DEFAULT_ENGINE") I can't really modify robocode as it means I would not be able to compete in the competitions. Is there any other way around this? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
-
@aurora126 |
Beta Was this translation helpful? Give feedback.
-
Just an update on this thread for anyone interested. There is a newer version of robocode in development ( Robocode Tank Royale ) , each robot runs in its own JVM and there are no security restrictions. At the moment there are no competitions for the newer version but I assume there will be in the near future. For now the robocode team have fixed the issue with current version (Robocode) to enable access to System.getenv. Hope this helps anyone wanting to use DJL for build a robocode robot. |
Beta Was this translation helpful? Give feedback.
Just an update on this thread for anyone interested. There is a newer version of robocode in development ( Robocode Tank Royale ) , each robot runs in its own JVM and there are no security restrictions. At the moment there are no competitions for the newer version but I assume there will be in the near future.
For now the robocode team have fixed the issue with current version (Robocode) to enable access to System.getenv.
Hope this helps anyone wanting to use DJL for build a robocode robot.