Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If this command prints "command not found", the current PATH variable probably does not contain the Java bin directory or the location was set incorrectly.

Info
titleJava on OSX

On OSX, the Java configuration found by Maven can sometimes conflict with what is shown by the 'java -version' from the command line.  In particular, the Java version that comes bundled with the operating system might be 1.6 when a 1.7 JDK is required to build HPS software.

In order to fix this, setup the JAVA_HOME variable as follows:

export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)

Of course, a valid Java 1.7 JDK installation must be present for this to work. You can get the latest version from here.

Simply install the DMG file as normal, and then setting up your environment as above should configure your machine successfully for Maven usage.

Maven

Maven is a Java based build tool used to create a runnable version of HPS Java on your machine.

...