Java Error throwing when Starting JWP Error: A JNI error has occurred Exception in thread "main" jav

Document ID : KB000089827
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Java Error throwing when Starting JWP Error: A JNI error has occurred Exception in thread "main" jav
Resolution:

Symptoms

Starting JWP in Windows ends up with error messages in WP log:

Error: A JNI error has occurred, please check your installation and try again

Exception in thread "main" java.lang.NoClassDefFoundError: org/osgi/framework/Bun



Cause

LIB and PLUGINS folder not located in BIN folder of automation engine but in Automation Engine Folder

errornous structure:

Automation Engine/BIN

Automation Engine/plugins

Automation Engine/lib



Resolution

correct structure that plugins and lib folder are located in BIN folder of Automation Engine:

Automation Engine/BIN

Automation Engine/BIN/plugins

Automation Engine/BIN/lib