Thanks to Michael Lechasseur (mlecha@music.mcgill.ca) for contributions to this document.
Once you have defined installation directory, you must add environment variables definition. This can be done by adding the following lines (modify JAVA_HOME to reflect the current settings of your system):
JAVA_HOME="/usr/local/java" PATH="$JAVA_HOME/bin:$PATH"to your .bashrc file in your home directory (modify accordingly if you are using another shell).
Once this is done, you can check that the environment is correct by running the Java VM:
echo $PATH echo $CLASSPATH java -versionIf the "Kaffe Java Virtual Machine" is installed on your system, you'll need to make sure that jMax finds the JDK binaries before it finds the Kaffe binaries. If you have Kaffe installed you'll get the output "Kaffe Virtual Machine" by typing "java -version" at the command line. You need to make the path to your JDK directory apprear first in your PATH statement, or you need to rename the Kaffe files to prevent their use:
mv /usr/bin/java /usr/bin/java-kaffe mv /usr/bin/javac /usr/bin/javac-kaffe mv /usr/bin/jar /usr/bin/jar-kaffeNote: it has been reported that Kaffee does not currently run jMax. We recommend that you use JDK instead.
./configure
make
make installTo do a 'clean' :
make clean
The necessary files for rpm building are included in the source rpm of jMax and in the jMax source distribution.
rpm -ba jmax.spec
The file jmax.spec is in the source distribution, in subdirectory pkg/rpm/jmax.spec. For rpm building, the following files must be copied:
rpm -ba jmax.spec
Copyright © 1995,1999 IRCAM.
All rights reserved. |