TestNG - ANT run command fails the buildxml script due to JNI error | Selenium Forum
S
Sumanth K Posted on 22/05/2019
Dear Admin, Every command works fine when clean, compile the ANT command for the testNG project. However getting this error " Error: A JNI error has occurred, please check your installation and try again" when executing the "ant run" to see the output. Please do the helpful here. Attaching is the screenshot for reference.

A
Ashish Thakur Replied on 23/05/2019

Make sure all the required jars are available.

Additionally, cross check that the environment variables are properly set.