I am trying to set path for JAVA_HOME in my linux machine. When I run java -version it shows:
- java version "1.7.0_55"
- OpenJDK Runtime Environment (rhel-188.8.131.52.el6_5-x86_64 u55-b13)
- OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
I'm trying to build my maven project, but this comes up:
Error: JAVA_HOME is not defined correctly.
We cannot execute /usr/java/jdk1.7.0_05/bin/java
Please tell what to do here. I am lost.