Tuesday, August 23, 2016

Install jdk and configure

1. Go to Oracle website
2. Download jdk
3. Place it in a folder (ex: /backup/Applications)
4. pwd the jdk path in a terminal (ex: /backup/Applications/jdk1.8.0_91)
5. nano ~/.bashrc
6.export JAVA_HOME=/backup/Applications/jdk1.8.0_91
   export M2_HOME=/backup/Applications/apache-maven-3.3.9
   export PATH=$JAVA_HOME/bin:$M2_HOME/bin:$PATH
 7. source ~/.bashrc
8.$PATH
9.#maven version
 >mvn -version


No comments:

About Me

Friendly and humanitarian Honest and loyal Original and inventive Independent and intellectual