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
Extract All
from the menu.1 2move atlassian-public-sdk-9.1.1\atlassian-public-sdk-9.1.1 C:\atlassian-public-sdk-9.1.1
%ATLASSIAN_PLUGIN_SDK_HOME%\bin
in the available space.Open a Command Prompt window, and run the following command:
1 2atlas-version
You should see something similar to:
1 2ATLAS Version: 9.1.1 ATLAS Home: C:\atlassian-plugin-sdk-9.1.1 ATLAS Scripts: C:\atlassian-plugin-sdk-9.1.1\bin ATLAS Maven Home: C:\atlassian-plugin-sdk-9.1.1\apache-maven-3.9.8 AMPS Version: 9.1.1 -------- Executing: "C:\atlassian-plugin-sdk-9.1.1\apache-maven-3.9.8\bin\mvn.cmd" --version -gs C:\atlassian-plugin-sdk-9.1.1\apache-maven-3.9.8/conf/settings.xml Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256) Maven home: C:\atlassian-plugin-sdk-9.1.1\apache-maven-3.9.8 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: