Java

JHipster supports the latest LTS version of Java (Java 11). While JHipster applications will work with Java versions 8 to 13, it is recommended to stick to the latest stable LTS release (Java 11).

The generated applications use Java 8 features to be backward compatible, and hence Java 8 is the minimum required version to compile the applications:

  1. Check for your installed Java version by running the java -version command in the Terminal. It should display Java version x.x.x, where x.x.x could be any version between 1.8 and 12.0.
  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 11.
  3. Once the JDK is installed, check the command in step 1 again to make sure. As the JDK alters the environment variable to set JAVA_HOME, you will have to open a new Terminal here.

Alternatively, you can also use SDKMAN (https://sdkman.io/) to manage multiple Java versions from different vendors. Follow the installation (https://sdkman.io/install) and usage instructions (https://sdkman.io/usage) from the website.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.36.30