Hi, thank you for your quick response. We resolved the issue... java -version does return version 22... So we chose to use the compiler built into Robocode and under Compiler Preferences > Compiler Options it says "-source 1.5 -verbose -encoding UTF -8". So I just reset to compiler on the affected computers and chose the compiler already on the system instead and it works just fine. I have no idea why only 3 computers would have this issue. Hopefully this can help some poeple with the same issue...
I installed Robocode on the 24 computers in my classroom. 22 computers compile bots successfuly, but 2 of the computers get the error in the attached image: Picked up _JAVA_OPTIONS: "-Djava.security.manager=allow" source level should be in '1.8,'9'...'22' (or '8.0'..'22.0'): 1.5 Compile Failed (-1) What is this issue? It is odd that only 2 of the computers have this. I am not super technical/a Java expert, so please keep the issue/solution explanation simple! The computers are running JDK 22. Thank...
Oh I see, okay this seems to have worked. Thank you so much! How long do you think it will be until Java completely removes Security Manager for good?
I tried running it in command prompt and got the longer version of the message... Is this because the computer is running Java 18? wasn't this fixed?
My school got new computers. I was able to install Robocode on the old ones without issue. On the new computers, after installing, when I try to open it, the classic black box appears and disappears with the attached message. I have also posted the Java versions my computer has. Can anyone help?