JOELib Tutorial: A Java based cheminformatics/computational chemistry package | ||
---|---|---|
Prev | Chapter 1. Installing JOELib | Next |
Mathworks-Matlab is mathematical, scientific environment with a very good Java connection and lot's of toolboxes.
Get an up-to-date version of the JOELib library and the JOELib-Matlab toolbox.
You must add all required Java libraries to the Matlab CLASSPATH which are defined in the file yourMatlabPath/toolbox/local/classpath.txt:
$matlabroot/java/jarext/joelib.jar $matlabroot/java/jarext/log4j.jar
Copy all the required libraries to the directory yourMatlabPath/java/jarext.
for using Java 1.4 or higher you must add/change your system variable MATLAB_JAVA to
MATLAB_JAVA 1.4.1_01if you are using JDK1.4.1.
then copy your JRE directory to the matlab directory yourMatlabPath/sys/java/jre/win32/jre1.4.1_01.
JOELib can directly be used under Matlab (the GUI is Java based, too) or vice versa using the JNI interface JMatLink which requires some experience with the JNI.