This issue could be a problem with a software driver. To disable the driver, you can restart the computer in Safe Mode. To do so, restart the computer and tap the F8 key repeatedly until you see a menu.
I am trying to install Matlab 2012a (64-bit) in Ubuntu 12.04LTS (64-bit). I have installed Java 7. My Java version is:
I am getting the following error while installing Matlab:
How can I fix this problem?
When I use -v (verbose) option I am getting the following:
Eliah Kagan85.2k22 gold badges238 silver badges378 bronze badges
SabyasachiSabyasachi
3 Answers
I had the same problem and was able to fix it with following steps. Open terminal Ctrl+Alt+T and run following command.
- Install JRE if you don't have it already.
- Invoke the installer with -javadir option
5,3184 gold badges27 silver badges42 bronze badges
Ninad ThakoorNinad Thakoor
Your Java/JRE probably has nothing to do with this - Matlab is using it's own JRE and that's what's giving you the error (notice the path).
- Make sure Matlab's
java
is executable, withchmod +x sys/java/jre/glnxa64/jre/bin/java
from the top-level folder (which appears to be~Downloads/R2012a_UNIX
for you) [source] - Run the installer with:
- This should most probably work; if not, please edit your question with the extended output the verbose (-v) option will give you.
118k33 gold badges273 silver badges296 bronze badges
As noted, MATLAB has its own (greatly out of date) copy of the JRE, but you can make it use another simply by pointing the MATLAB_JAVA environment variable to the directory containing the JRE you want it to use.
Be aware that Matlab is not compatible with Java 7 (at the moment at least).
Community♦
ChristopherChristopher
Not the answer you're looking for? Browse other questions tagged 12.0464-bitjavashared-librarymatlab or ask your own question.
Cœur20.9k10 gold badges119 silver badges164 bronze badges
Rushik ParikhRushik Parikh1961 gold badge4 silver badges14 bronze badges
closed as off-topic by T.J. Crowder, user000001, Dave, Rushi, ShlubluAug 8 '13 at 11:26
This question appears to be off-topic. The users who voted to close gave this specific reason:
- 'Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist' – user000001, Rushi
1 Answer
To Fix The 'Missing 'server' JVM at `C:Program FilesJavajre7binserverjvm.dll'.Please install or use the JRE or JDK that contains these missing components.Press any key to continue . . '
follow the steps:
Go to oracle.com and install java jre7 (check not be installed java 6 plz)
After that go to C:/Program files/java/jre7/bin
Here create an folder called 'Server' (without ' ')
Now go into the C:/Program files/java/jre7/bin/client folder
COPY all data of this folder into the new C:/Program files/java/jre7/bin/Server
Rushik Parikh1961 gold badge4 silver badges14 bronze badges
Rushik ParikhRushik Parikh