java.lang.SecurityException: Prohibited package name: java

Coderanch | Campbell Ritchie | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to find Object count in Heap

    Coderanch | 1 year ago | Campbell Ritchie
    java.lang.SecurityException: Prohibited package name: java
  2. 0

    A JNI error occurred (Beginning Java forum at Coderanch)

    coderanch.com | 8 months ago
    java.lang.SecurityException: Prohibited package name: java
  3. 0

    Need help please

    Coderanch | 2 years ago | Campbell Ritchie
    java.lang.SecurityException: Prohibited package name: java
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JNI error has occured and I just removed and reinstalled the jdk

    Stack Overflow | 2 years ago | Michael
    java.lang.SecurityException: Prohibited package name: java
  6. 0

    Why don't I have a main?

    Coderanch | 4 years ago | Campbell Ritchie
    java.lang.SecurityException: Prohibited package name: java

  1. Pishtiko 1 times, last 11 months ago
9 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.SecurityException

    Prohibited package name: java

    at java.lang.ClassLoader.preDefineClass()
  2. Java RT
    LauncherHelper.checkAndLoadMain
    1. java.lang.ClassLoader.preDefineClass(ClassLoader.java:659)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:758)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    10. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    11. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    12. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    13. sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)
    13 frames