`SecurityManager` was deprecated in JDK 17 with https://openjdk.org/jeps/411 and permanently disabled in JDK 24 (https://openjdk.org/jeps/486).