My Oracle Support Banner

PortC.jar DMP Command Gives Error 'Error: A JNI error has occurred' and java.lang.ClassNotFoundException: org.json.JSONException (Doc ID 2734627.1)

Last updated on MARCH 03, 2023

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 8.0.2 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)


When executing the PortC.jar, you get the following error:

$ java -jar PortC.jar DMP
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/json/JSONException
     at java.lang.Class.getDeclaredMethods0(Native Method)
     at java.lang.Class.privateGetDeclaredMethods(
     at java.lang.Class.privateGetMethodRecursive(
     at java.lang.Class.getMethod0(
     at java.lang.Class.getMethod(
     at sun.launcher.LauncherHelper.validateMainClass(
     at sun.launcher.LauncherHelper.checkAndLoadMain(
Caused by: java.lang.ClassNotFoundException: org.json.JSONException
     at java.lang.ClassLoader.loadClass(
     at sun.misc.Launcher$AppClassLoader.loadClass(
     at java.lang.ClassLoader.loadClass(
  ... 7 more

As a result, the utility fails to create the in $FIC_HOME.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.