When trying to launch natively packaged applications without bundled JRE.
I get the following exception:
SomeProject Failed to locate JNI_CreateJavaVM
SomeProject Failed to launch JVM
This error is caused by the JRE_HOME environment variable not being set.
Unfortunately the JRE_HOME won't be set by any installer on linux (or windows).
apt-get install java-8-installer
(At least not on any of my computers)
The issue
When trying to launch natively packaged applications without bundled JRE. I get the following exception:
This error is caused by the
JRE_HOME
environment variable not being set. Unfortunately theJRE_HOME
won't be set by any installer on linux (or windows).apt-get install java-8-installer
(At least not on any of my computers)The solution
Search for system JRE's also:
JAVA_HOME
only ifJRE_HOME
is not setJRE_HOME
is not setReferences