Configure your environment

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.

Operating system requirements

  • Windows 10
  • MAC OSX 10
  • Linux (Ubuntu 16.04)

Java 8

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.

Maven 3.9.4 or later

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 C:\Maven\apache-maven-3.9.4\bin.

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.

Note

If dependency downloads are causing long Maven build times, configuring another repository connector such as the OkHttp Aether Connector may speed up the downloads. It can be enabled by creating a .mvn/extensions.xml file. For more information, see the Maven documentation.

results matching ""

    No results matching ""