I have successfully downloaded 32-bit MATLAB 7.13 (R2011b) installer from the license center. However when the installer reaches the “Typical” or “Custom” page, the JVM crashes. I tried with/without internet option, re-downloading with download agent/manually, turning off the firewall/anti-virus, but all these did not work. See the attached installer log file.
MATLAB: Does MATLAB 7.13 (R2011b) installer crash on 32-bit Windows XP machine
MATLAB
Related Solutions
Starting with R2014a, MATLAB student version is available as a 64-bit application and will work on a 64-bit Operating System.
Starting with release R2011a, MATLAB is only available for 64-bit on Mac OS X and as of release R2013a, MATLAB is only available for 64-bit on Linux.
Prior to R2013a, MATLAB student version was available only as 32-bit; while not supported, it is possible to install the 32-bit version of MATLAB on a 64-bit Linux. In order to install 32-bit MATLAB on 64-bit Linux prior to release R2013a, you will need to tell the installer to install the 32-bit version of MATLAB. To do so you will give the installer the -glnx86 flag. Once MATLAB is installed, you will also need to start MATLAB with this flag. Follow the instructions below to install 32-bit MATLAB on Linux
1) Open a terminal window.
2) In the terminal window, change directories to the location of the installation files. Ex:
cd '/media/MATHWORKS_R2008b/'
3) Launch the installer in text mode with the -glnx86 flag:
./install_unix.sh -glnx86 -t
4) Once the installer is finished, you will need to activate manually from the website as the activation client will not launch on a 64-bit Linux machine. To activate manually, see the Related Solution, 1-3YZBZ6.
5) Once MATLAB is installed and activated, you will need to run MATLAB using the same -glnx86 flag that you used to install. For example:
$MATLAB/bin/matlab -glnx86
(where $MATLAB is the MATLAB installation folder)
NOTE: Some users have problems loading the JRE when running in this configuration. Creating a symlink in $MATLAB/sys/java/jre named 'glnxa64' pointing to 'glnx86' should resolve this issue. You can do this with the following command:
ln -s $MATLAB/sys/java/jre/glnx86 $MATLAB/sys/java/jre/glnxa64
(where $MATLAB is the MATLAB installation folder)
This bug has been fixed in MATLAB 8.0 (R2012b). For previous product releases, read below for any possible workarounds:
There is a bug in MATLAB 7.14 (R2012a) 64-bit and earlier releases (64-bit) in the way that MATLAB crashes while using Variable Editor or Workspace Window when running on Java Version 1.6.0_26 or 1.6.0_29 or 1.6.0_31 provided by Apple Inc. for Mac OS X. The cause of the crash has been identified to be within Java Just-In Time (JIT) Compiler.
For MATLAB 7.14 (R2012a), there is a patch available for download on MathWorks website in the form of a published Bug Report here (Bug ID#:749571)
The Bug Report provides the patch files and instructions for installation of the patch.
Note: You will need to Log In using your MathWorks Account credentials in order to be able to view the bug report.
If the issue is not fixed by the patch, there is a possibility that the patch was installed incorrectly. To verify the installation execute the following two commands,
cd(matlabroot)ls -ld java/jar/widgets.jar
In a correct installation, the file should be dated July 23, 2012.
For MATLAB 7.13 (R2011b) and earlier releases refer to the following instructions.
As a workaround, disable the Java JIT as follows, in exchange for a small compromise in performance:
1) Create a text file named "java.opts" in the $MATLABROOT/bin/$ARCH directory. $MATLABROOT is the MATLAB root directory and $ARCH is the system architecture, which can be found by typing the following at the MATLAB Command Prompt:
>> matlabroot >> computer('arch')
If the user does not have write-access to $MATLABROOT/bin/$ARCH, or if a user-specific version is desired, create the "java.opts" file in the MATLAB startup directory. The MATLAB startup directory can be found by executing the following at the MATLAB Command Prompt (before any MATLAB code is executed):
>> pwd
Note: java.opts files can reside in the folder from which you launch MATLAB or in the bin/$ARCH subfolder within the MATLAB root folder. A java.opts file in the latter location applies to all users, but individual users might not have permissions to modify a java.opts file there. If there is a java.opts file in both locations with settings that conflict, the setting in the java.opts file in the folder from which you launch MATLAB takes precedence. You might want to check both locations to see whether you have existing java.opts files and then decide which one to modify.
At the $MATLABROOT/bin/$ARCH or at the startup directory, create a text file named 'java.opts', if one is not there already, by typing the following:
>> edit java.opts
2) In the MATLAB editor, enter the following lines and save "java.opts" :
-Dapple.awt.graphics.UseQuartz=true -Xint
The option -Dapple.awt.graphics.UseQuartz=true forces Java to use the Quartz rendering pipeline to improve rendering performance.
The option -Xint is used to turn off the Java Just-In-Time.
3) Exit and restart MATLAB, and check if the crash issue still occurs.
If this workaround does not work or creates additional issues, revert back to the previous state by deleting the "java.opts" file you created.
Note: Disabling Java JIT may affect MATLAB performance.
Related Question
- Is it possible for MATLAB 7.13 (R2011b) to read and write to MP3 files
- How to install X11? Why do I receive an error stating that X11 is not found when installing MATLAB on Mac OS X
- 32-bit and 64-bit and DB issues, oh the!
- Do I get a Command line option syntax error when installing MATLAB
- Can I use several version of simulink
- Do I get errors with compiling even after I have installed the supported compilers Microsoft Visual Studio 2010 Express and Windows SDK 7.1
Best Answer