Full Stack Development with JHipster
上QQ阅读APP看书,第一时间看更新

Java 8

Java 9 is the latest Java release introducing features like modules, reactive streams and so on. While JHipster applications will work with Java 9 it is recommended to stick to the more stable Java 8 until Java 9 support is stable in all the dependencies used.

The generated applications use Java 8 and hence it is required to compile the applications:

  1. Check for your installed Java version by running the command java -version in the Terminal. It should display java version "1.8.x" where x could be any patch version.
  2. If you do not have the correct version installed, you can visit the Oracle website (http://www.oracle.com/technetwork/java/javase/downloads/index.html) and follow the instructions to install the JDK for Java 8.
  3. Once installed, check the command in step 1 again to make sure. As the JDK alters the environment variable to set JAVA_HOME you would have to open a new Terminal here.