java.security.AccessControlException

access denied (java.lang.RuntimePermission exitVM ) at java.security.AccessControlContext.checkPermission(AccessControlContext.java, Compiled Code) at java.security.AccessController.checkPermission(AccessController.java, Compiled Code) at java.lang.SecurityManager.checkPermission(SecurityManager.java, Compiled Code)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web60

  • via Unknown by 147955,
  • via Stack Overflow by dalex
    ,
  • Stack trace

    • java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM ) at java.security.AccessControlContext.checkPermission(AccessControlContext.java, Compiled Code) at java.security.AccessController.checkPermission(AccessController.java, Compiled Code) at java.lang.SecurityManager.checkPermission(SecurityManager.java, Compiled Code) at java.lang.SecurityManager.checkExit(SecurityManager.java:752) at java.lang.Runtime.exit(Runtime.java:74) at java.lang.System.exit(System.java:652) at Frame2.windowClosing(Frame2.java:53) at java.awt.Window.processWindowEvent(Window.java:641) at java.awt.Window.processEvent(Window.java:617)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.