Closed nishadhka closed 9 years ago
wget http://archive.apache.org/dist/maven/binaries/apache-maven-3.0.4-bin.tar.gz tar -zxf apache-maven-3.0.4-bin.tar.gz sudo cp -R apache-maven-3.0.4 /usr/local sudo ln -s /usr/local/apache-maven-3.0.4/bin/mvn /usr/bin/mvn
nano .bashrc >>>JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
mvn version
mvn package
Error: JAVA_HOME is not defined correctly. We cannot execute ”/usr/lib/jvm/jdk1.7.0”/bin/java
sh grib2json
mvn version
andmvn package
mvn package
gives error ofsh grib2json
proves its working!