This section explains how to prepare Matlab for development
with psychWithJava package.
Setup involves two steps: Setting the JVM version and
setting the javaclasspath variable. OS specific instructions
are given in alphabetical order.
Linux:
Mac OS X:
MS Windows 2000/XP:
You now can set (or add) the MATLAB_JAVA system
environment variable to the path of your JVM. Note
that JVM resides in a directory named jre. It can be
under the main java directory or it can be seperate.
Setting a dynamic path.
Setting the static path
version -java
/opt/jdk1.5/jre
echo $SHELL
export MATLAB_JAVA=<path to JVM>
setenv MATLAB_JAVA <path to JVM>
export JAVA_JVM_VERSION=1.5
setenv JAVA_JVM_VERSION 1.5
The official instructions are given
here.
Once again I will
sketch the steps below, but I recommend to
follow the above link
for most accurate information.
javaaddpath <full_path_to_psychWithJava>
javaclasspath
Official instructions are given
here.
I will
sketch the steps below, but I recommend to
follow the above link
for most accurate information.
which classpath.txt
javaclasspath