07.24.06
Change Java Virtual Machine in MATLAB for Linux
When you first purchased and installed your MATLAB several months (or a few years) ago, you will find that the Java Virtual Machine (JVM) that they supply are either out-dated or obsolete. Actually, I should be saying “obsolete” because in spite of that, MATLAB still functions well with old version of JVM. For instance, the Windows version of Matlab 6.5 will ship along with Sun’s Java Run-time Environment (JRE) version 1.4.2. Only does the latest version of Matlab (v7) comes with JRE version 1.5. Linux (UNIX) users are much luckier in the sense that if the version of your Java VM before Matlab installation is of the latest version, then there isn’t much for you to do. However, if you already have Matlab installed and running an old version of JVM, then chances are you will need to follow some ways to change your JVM. So why do users want to upgrade (or change) their Java VM in Matlab? For me, it is basically out for fun. As for others, it is purely compatibilty of similar version on Java VM platform.
Right, in this post, I will introduce how to change the JVM for Matlab in Linux system. Unfortunately, I will not discuss anything with relate to Windows version of Matlab, although there may be several other posts in Google which you can search to get some results.