Error:

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.SecurityException: Prohibited package name: xxx.xxx.xxx
My Code:


Solution:
This error occurs because the above code uses "JAVA" as the package name.
