Get started
There are a number of ways to get started to develop with the Maps SDK for Java. If you are new, follow the steps below to get started with Java and IntelliJ IDEA.
1. Sign up for an account
To use the ArcGIS Maps SDK for Java to access content, services, or an organization, you need an ArcGIS Developer account, ArcGIS Online account, or ArcGIS Enterprise account. The type of account, user type, and role you need depends on the resource you need to access and the operations you wish to undertake.
If you do not have an account, select one of the options below:
2. Get the SDK and dependencies
To use the ArcGIS Maps SDK for Java you need to:
Install a supported JDK
- Download a JDK, filtering for your operating system, architecture, and version.
- Use the installation guide and follow the instructions.
Install a Java IDE with Gradle integrated
- Download IntelliJ IDEA Community Edition.
- On the left of the download page, click installation instructions and follow them.
Get the ArcGIS Maps SDK for Java and dependencies
- Expand the accordion below: Gradle build script.
- Copy the script into your Java project's
build.gradle
file. - Reload the build script and execute the run task to download and unpack the API dependencies.
For additional considerations, go to Install and set up.
3. Get an access token
To access secure ArcGIS services and resources, you need to use an access token. The easiest way to get started is to create an API key. Learn more about access tokens and authentication in Security and authentication.
4. Create your first mapping application
Follow the step-by-step instructions in the display a map tutorial to create your first mapping application. The following code shows how you can create and display a map.
Once you are done building your application, make sure to license it before deploying to production. For more information, see License and deployment topic for details.
5. Follow the tutorials
Go to the tutorials to create and run applications to perform different operations.

Display a web map
Display a preauthored map stored as an ArcGIS Online portal item.

Add a point, line, and polygon
Learn how to display a point, line, and polygon graphic in a map.

Access services with OAuth 2.0
Learn how to authenticate a user to access a secure ArcGIS service with OAuth 2.0.
6. Explore the samples
Go to the samples to learn how to perform more tasks with the API.

OAuth
Authenticate with ArcGIS Online (or ArcGIS Enterprise) using OAuth2 to access secured resources.

Add features
Add features to a feture layer.

Add dynamic entity layer
Display data from an ArcGIS stream service using a dynamic entity layer.

Find route
Display directions for a route between two points.