Java Home wasn’t set properly?

I am trying to install MATLAB on my Fedora 22. At the end, I get an error

The application encountered an unexpected error and needs to close. You may want to try re-installing your product(s). More information can be found at /tmp/mathworks_root.log

When I look in mathworks_root.log file, I see that Java Home is not set properly during installation step

Java Home /tmp/mathworks_32206/sys/java/jre/glnxa64/jre

although I set this environment variable, output of this command

echo $JAVA_HOME
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-40.b14.fc22.x86_64/jre/bin/java

Do you know, why this happens?

Thanks!


Source: linux

Leave a Reply