The instructions in this guide have been verified with the supported versions of third party components as specified below. Using an unsupported version may lead to unexpected results.
Before you can begin working with any of the App SDKs, you should ensure that your development environment includes all the required components and that they are correctly configured.
Java Development Kit
Component | Supported versions | Source(s) |
|---|---|---|
JDK | 17, 21, 25 |
|
To install a Java Development Kit:
Download the Java SE Development Kit from:
the Oracle website, or
an open source alternative, e.g., Eclipse Temurin, OpenJDK, or Amazon Corretto.
Install the JDK:
On Windows:
Run the installer file and follow the instructions step-by-step.
On macOS:
Run the downloaded .dmg or .pkg installer and follow the instructions step-by-step, or
Use Homebrew, e.g.:
brew install openjdk@17
Verify which version JAVA_HOME is pointing to:
On Windows:
Run
echo %JAVA_HOME%in the command prompt.
On macOS:
Run
echo $JAVA_HOMEin a terminal.
If
JAVA_HOMEis pointing to an older version, update it to point to the version you just installed.
Set the Environment Variables:
On Windows:
Type Environment Variables in the Windows search bar.
Click New under System Variables.
Add
JAVA_HOMEas the variable name, and the JDK installation path as the value.Locate the
Pathvariable, click Edit, then click New, and adding%JAVA_HOME%\bin
On macOS:
Find your JDK installation path, e.g., via
/usr/libexec/java_home -VOpen your shell profile file, e.g.,
~/.zshrcfor the default zsh shell, or~/.bash_profileif using bash.Add the following lines:
export JAVA_HOME=$(/usr/libexec/java_home -v 17)export PATH=$JAVA_HOME/bin:$PATHApply the changes with
source ~/.zshrc(or the equivalent for your shell), or open a new terminal window.
Confirm that the installation was successful.
On Windows:
Using the command prompt, type
java -version.
On macOS:
Using the terminal, type
java -version.
The installed Java version should then be displayed.
Eclipse IDE
Component | Supported versions | Source(s) |
|---|---|---|
IDE | 2026-06 R |
To install Eclipse IDE:
Download the supported version of the Eclipse IDE for Enterprise Java and Web Developers installer from the Eclipse Foundation website.
Run the installer and choose the folder where it will be extracted before clicking Install.
If required to, choose a workspace directory.
Apache Tomcat
Component | Supported versions | Source(s) |
|---|---|---|
Web server | Apache Tomcat 10.1 |
To install Apache Tomcat as your local web server:
Go to the Apache Tomcat homepage and select the desired version from the Download section.
On the Software Download page, scroll down to the Binary Distributions section and click on one of the following:
zip (pgp, sha512)tar.gz (pgp, sha512)Windows zip (pgp, sha512)
Extract the zip to a secure location on your machine.
Record the path for future reference.
Essential Eclipse configurations
Add Tomcat Runtime to Eclipse
On Eclipse, access the Servers view.
If there is no such tab, click Window on the top menu, hover over Show View and look for Servers.
If it is still not listed, enter
Serversinto the filter, expand the Server folder, select Servers, and click Open (or OK).
Create a new server and specify the Server Type by expanding the Apache folder, selecting Tomcat v10.1 Server, and clicking Next.
Specify the Tomcat installation directory by selecting the path from step 3 of Apache Tomcat.
Next, choose specific JRE version under the JRE dropdown before clicking Next or Finish.
A note on JavaScript errors
Eclipse can be configured to suppress to skip client-side JavaScript validation and prevent errors from being displayed. However, these errors are harmless and will not prevent Java from compiling.