Loading...
indeed nothing is special, but this post is about to remind me about the steps i followed to get my mac box with maven and jdk 1.5.
my requirements -
1. maven - 2.0.7
2. jdk 1.5
3. set maven bin to PATH variable.
i had 10.4.10 osx version.
to configure jdk 1.5 (jdk 1.4 is set as default jdk):
cd /System/Library/Frameworks/JavaVM.framework/Versions
sudo rm CurrentJDK
sudo ln -s 1.5 CurrentJDK
to configure maven:
download maven binaries, copy it in your preferred location.
in my case i had it in - /Applications/java/maven-2.0.7/bin/ here.
execute following line -
vi ~/.bash_profile
change PATH with following value -
PATH=/usr/local/bin:/Applications/java/maven-2.0.7/bin/:$PATH
test your configuration -
java -version
it should say - java version “1.5.0_0x”
mvn -version
it should say - Maven version: 2.0.7
thats all will make your maven and jdk 1.5 environment up and running.







| www.flickr.com |
Leave a reply