Matlab 7.5 compiled runtime for 64-bit Linux installation: "No JRE" error?
Hello Linux gurus,
I am trying to install the Matlab 7.5 compiled runtime for 64-bit Linux (MCRInstaller.75.glnxa64.bin) and keep getting a "No Java Runtime Environment(JRE) was found on this system." error message.
I understand the JRE is bundled with MCRInstaller and will self-compile/install. However, I don't have admin access, could this be the source of the problem? If so, how could I fix it (not sure how to direct it to install locally without going into the source code)?
I got around this error before, but stupid me didn't write down what I did and I forgot. :(
First off type "which java" and hopefully there's a JRE installed somewhere but matlab is looking in the wrong place. If you find a java binary such as:
Use this flag with the MCRInstaller:
-is:javahome <dir> JRE home which points to directory containing bin/java.
For the above example you'd use -is:javahome /usr/local
Hope this helps.
Thanks for your reply. I tried what you suggested, but unfortunately it is still not working and I am getting the same error as before: "No Java Runtime Environment(JRE) was found on this system".
I also tried the following as suggested by the documentation page on mathworks.com, but no luck:
Just wanted to update that I got the 32-bit version installing perfectly. Still unsure why the 64-bit version was giving me trouble. :S
|All times are GMT -5. The time now is 06:40 AM.|