You are on page 1of 1

wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2F

www.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.or


acle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.rpm"
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2F
www.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.or
acle.com/otn-pub/java/jdk/8u45-b14/jre-8u45-linux-x64.rpm"

https://www.ntu.edu.sg/home/ehchua/programming/index.html
alternatives --install /usr/bin/java java /usr/java/latest/bin/java 200000

/usr/java/jdk1.8.0_45/bin/java
export JAVA_HOME=/usr/java/jdk1.8.0_45/bin/java
export PATH=$JAVA_HOME/bin:$PATH
export PATH=$JAVA_HOME/bin:$PATH

mvn archetype:generate -DgroupId=com.mkyong -DartifactId=CounterWebApp -Darchet


ypeArtifactId=maven-archetype-webapp -DinteractiveMode=false