Mathematica 7 java interface problems

aboSamoor | July 22, 2009 | 11:40 am

Java interfaces usually brings problems as cpu high usage and rendering difficulties. You can notice that for matlab, Netbeans and Mathematica. I think they have to consider QT4 for cross platform UI library.

Java used mainly in Mathematica in the documentation center, and this usage allocated about 15% of the CPU to Java all the time, to reduce the usage you have to replace JLink folder with patched one.

  1. wget http://download.wolfram.com/download/GM5YM4/JLink.zip
  2. extract the zip file
  3. Replace the /usr/local/Wolfram/Mathematica/7.0/SystemFiles/Links/Jlink with the new folder

If you don’t want Java anymore your can use this trick, notice that you will block the documentation center. However, you can use http://reference.wolfram.com instead.

  1. Renaming the folder
    mv /usr/local/Wolfram/Mathematica/7.0/SystemFiles/Links/JLink /usr/local/Wolfram/Mathematica/7.0/SystemFiles/Links/JLink_old
  2. OR Making it not executable
    chmod a-x chmod a-x /usr/local/Wolfram/Mathematica/7.0/SystemFiles/Links/JLink

Sources:

  1. The patched folder
  2. Renaming option [1][2]