Phillip Warner
- Download appropriate 32-bit or 64-bit Java SE SK from http://www.oracle.com/technetwork/java/javase/downloads/index.html
- Run executable, install using default options
- You can use a non-default installation directory if desired
- Windows: Control Panel → System → Advanced → Environment Variables → System Variables
- Set JAVA_HOME to Java SE SDK location
- e.g., C:\Program Files\Java\jdk1.7.0_45.jdk
- Add %JAVA_HOME%\bin to path
- In this example, was added to beginning of path
- Linux/Mac:
- Add JAVA_HOME as an environment variable to the shell environment.
- bash/linux: export JAVA_HOME=/path/to/jdk
- bash/mac: export JAVA_HOME=`/usr/libexec/java_home -v 1.7`
- Add $JAVA_HOME/bin to PATH
- bash: export PATH=$PATH:$JAVA_HOME/bin
{"serverDuration": 40, "requestCorrelationId": "049aa6a514034777976eb0725bd3c44a"}