LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-15-2010, 09:16 AM   #1
zeratul111
LQ Newbie
 
Registered: Sep 2010
Posts: 19

Rep: Reputation: Disabled
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.

Thanks everyone.

Last edited by zeratul111; 10-15-2010 at 09:17 AM.
 
Old 10-15-2010, 10:54 AM   #2
sylvainsf
LQ Newbie
 
Registered: Aug 2010
Location: San Francisco
Distribution: CentOS
Posts: 7

Rep: Reputation: 1
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:
/usr/local/bin/java

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.
 
Old 10-18-2010, 12:30 AM   #3
zeratul111
LQ Newbie
 
Registered: Sep 2010
Posts: 19

Original Poster
Rep: Reputation: Disabled
Hi sylvainsf,

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:

Quote:
1.

Extract the Java Jar file from the application launcher, using the is:extract installation launcher option.

MCRInstaller.bin -is:extract

This option extracts the components, including the Jar filesetup.jar.
2.

Run the Jar file using the JRE that works with your system.

java -jar setup.jar

This starts the installer GUI.
The above gets me to the installation step, with the progress bar, but installation does not progress and I receive the following error message:

Quote:
Errors occurred during the installation.
- JVM not found
...
 
Old 10-19-2010, 06:24 PM   #4
zeratul111
LQ Newbie
 
Registered: Sep 2010
Posts: 19

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
[SOLVED] booting a newly compiled kernel error :"invalid or unsupported executable format" shivanth Linux - Kernel 1 09-16-2009 06:57 AM
Runtime.getRuntime().exec("cd") returns java.io.IOException, error 2 in java tatarin Programming 4 03-28-2008 07:42 PM
Getting ERROR "no valid devices were found ..." on Installation of RedHat Linux 9 salil.mehta Linux - Laptop and Netbook 16 07-25-2006 08:45 PM
error loading a kernel module, "compiled using gcc2" taozilla Linux - Software 0 11-21-2003 03:23 PM


All times are GMT -5. The time now is 10:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration