When testing the HERE Data SDK for Java & Scala, you can use the following version numbers. Unless otherwise stated, version numbers higher than those recommended are more likely to work properly than version numbers lower than recommended.
The HERE Data SDK for Java & Scala requires Java 8, also known as Java 1.8. To install Java JDK and JRE 8 (Java Development Kit and Java Runtime Environment), use your operating system’s package manager or binaries available from the OpenJDK project, Amazon, Oracle or another trusted JDK provider. We recommend installing Java version 8, as newer major releases of Java (for example, Java 11) may not be fully backwards compatible with all Workspace components.
After you have installed Java 8, set the
JAVA_HOME environment variable to point to your installation directory. On Windows 10 for example, the value could be
C:\Program Files\Java\jdk1.8.0_131. To add the Java compiler, add
%JAVA_HOME%\bin to your
PATH environment variable.
To verify you have successfully installed the Java package, open a terminal and enter
java -version. This command displays the current Java version number, for example,
java version 1.8.0_131.
To install Apache Maven 3.9.4, follow the instructions from the download and installation pages on the Apache Maven site.
After you install Maven 3.9.4, add your Maven installation directory to your
Path environment variable. On Windows 10 for example, the value could be
To verify you have successfully installed Maven, open a terminal and enter
mvn -v. This command displays the current Maven version number and other information; for example,
Apache Maven 3.9.4.