JAVA_HOME in leopard

edit /etc/bashrc file and add this

export M2_HOME=/Users/marek/programs/apache-maven-2.0.9
export M2=$M2_HOME/bin
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
export PATH=$M2:$JAVA_HOME:$PATH
Advertisements