Install Java 8 from the Oracle website.
(Optional) Install a Java build tool.
Whether you choose to use Maven or Gradle, you normally don’t have to install anything, as JHipster will automatically install the Maven Wrapper or the Gradle Wrapper for you.
If you don’t want to use those wrappers, ...