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

Last edited on

Symptoms

When trying to launch your application from Squish you may be getting the following error dialog:

In text form:


Java Virtual Machine Launcher


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


OK


Known Cause

The only known cause of this error is when the application is being executed by a JRE (Java Runtime Environment) that is not configured in Squish’ setup program. (See How to use Java Web Start with Squish for more details on this with regard to Java Web Start.)