> For the complete documentation index, see [llms.txt](https://docs.mapbox.com/android/java/llms.txt)

# Java SDK

Current version:`v7.10.1`  
  
[View changelog](https://github.com/mapbox/mapbox-java/blob/master/CHANGELOG.md)

-   Global directions
    
-   Travel time matrix for multiple points
    
-   Geocoding V5 and V6
    
-   Map matching
    
-   Fastest route between multiple points
    
-   Static map images
    
-   Snap traces to road network
    
-   Geospatial analysis
    
-   Isochrones
    

[Contribute on GitHub](https://github.com/mapbox/mapbox-java)

![](https://docs.mapbox.com/android/assets/ideal-img/java-overview-header-image.480.png)

The **Mapbox Java SDK** is an open-source toolkit for building Java and Android projects that require geospatial features like directions, geocoding, static map images, and spatial calculations. It provides convenient methods for accessing Mapbox Web Services APIs, as well as classes for handling GeoJSON spatial data and helper functions for client-side spatial processing. While it utilizes [AndroidX annotations](https://developer.android.com/reference/androidx/annotation/package-summary) , it does not rely on the Android SDK API, making it versatile for various Java applications.

## Available packages

Here are the current Java SDK dependencies that you can use in your Android or Java project.

**GeoJSON**: Java classes that model the [GeoJSON spec](https://geojson.org/), for defining vector geometries like Points, Linestrings, Polygons, and Features.

```groovy
implementation 'com.mapbox.mapboxsdk:mapbox-sdk-geojson:7.10.1'
```

**Services**: Convenient wrappers to interact with Mapbox's [Web services APIs](https://docs.mapbox.com/api/overview/): Matrix, Geocoding, Tilequery, Optimization, Static Image, Map Matching, and Isochrone.

```groovy
implementation 'com.mapbox.mapboxsdk:mapbox-sdk-services:7.10.1'
```

**Turf**: A java port of the [turf.js](https://turfjs.org/) library for client-side geospatial processing.

```groovy
implementation 'com.mapbox.mapboxsdk:mapbox-sdk-turf:7.10.1'
```

**Core**: Color, text, and networking utility classes.

```groovy
implementation 'com.mapbox.mapboxsdk:mapbox-sdk-core:7.10.1'
```

## Access tokens

You will need to have a Mapbox access token if you plan to use any of the features of the **Services** package, as these all request resources from Mapbox APIs. An access token **is not** needed if you plan to use **GeoJSON**, **Turf**, or certain parts of the **Core** package.

Learn more about [how Mapbox access tokens work](https://docs.mapbox.com/help/how-mapbox-works/access-tokens/).

## Support and contributions

-   For support using the Java SDK, browse [Stack Overflow](https://stackoverflow.com/questions/tagged/mapbox+android) or [contact support](https://support.mapbox.com/hc/en-us).
-   For reproducible bugs and feature requests, open an issue in [the Java SDK's GitHub repository](https://github.com/mapbox/mapbox-java).
-   To contribute to this project, see the [contributing guidelines on GitHub](https://github.com/mapbox/mapbox-java/blob/master/CONTRIBUTING.md).