Not using Windows?
Linux and Mac users should see Install the Atlassian SDK on a Linux or Mac system
Before we dive into creating a plugin, you'll need to configure a local development environment so you can use the Atlassian SDK.
Note: these instructions are for Windows 10.
The JAVA_HOME
environment variable specifies the location of the JDK on your system. You can reference either Java SE Development Kit (JDK) 8 or AdoptOpenJDK 8. For Windows users, the default directory is C:\Program Files\Java\jdk1.8.x_y
, where x_y is the Java JDK 8 version you have installed*. *
To set these environment variables:
Browse to the C:\Program Files\Java\jdk1.8.x_y
folder on your system and copy the path to the folder.
Open Control Panel > System>Advanced System Settings.
On the Advanced tab click Environment Variables.
Locate the System variables section and click New.
Enter JAVA_HOME in the Variable name field and paste the folder path you copied into the Variable value field.
Click OK to close the dialog.
Click on Path variable in the **System variables ** section and click Edit.
Click **New **and type %JAVA_HOME%\bin
in the available space.
Close all dialog windows.
Open a new Command Prompt window, and run the following command:
1 2C:\Users\manthony>javac -version javac 1.8.0_91
verify that your output is similar to what appears above.
Atlassian Developer Terms last updated 04 Dec 2015
By downloading and/or using this SDK you agree to the Atlassian Developer Terms
Open a Command Prompt window, and run the following command:
1 2atlas-version
You should see something similar to:
1 2ATLAS Version: 6.2.9 ATLAS Home: C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9 ATLAS Scripts: C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\bin ATLAS Maven Home: C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\apache-maven-3.2.1 AMPS Version: 6.2.6 -------- Executing: "C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\apache-maven-3.2.1\bin\mvn.bat" --version -gs C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\apache-maven-3.2.1/conf/settings.xml Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-15T04:37:52+10:00) Maven home: C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\apache-maven-3.2.1\bin\.. Java version: 1.8.0_91, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.8.0_91\jre Default locale: en_AU, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"
Note that you are running the version of Maven that comes with the SDK
You now have a local development environment configured for the Atlassian SDK and you're ready to build your first plugin!
Need help? Request support at Developer Technical Support Portal
Rate this page: