Databases Reference
In-Depth Information
Before we continue, we have to make sure the JDK is installed correctly so that
the Atlassian SDK is able to use it.
To verify your JDK installation, perform the following steps:
1.
Open a command prompt window in Windows.
2.
Type the following command to verify that the JAVA_HOME variable is set:
echo %JAVA_HOME%
3.
This should return a path, that is C:\Program Files (x86)\Java\
jdk1.7.0_17 .
4.
When the variable is set, verify that your Path includes the JDK bin directory.
Type the following command:
java -version
This should display the version of Java installed, that is:
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode, sharing)
5.
If you have the JDK installed and your Path is configured correctly, you can
move forward to the next step.
When building a plugin for Confluence, the application will be running on your
desktop. For Confluence to be able to start, it assumes port 1990 is available.
On most machines this would not be an issue.
Verify your port numbers by performing the following step:
1.
Open a command prompt window and type the following command:
netstat -a | find /I "1990"
If the preceding command doesn't return anything, the port is available. If the
preceding command does return something, port 1990 is already being used by
another application. The Atlassian SDK will notice this during startup and assign
a different port to Confluence. We will go into this in the Building, installing, and
running your plugin section.
If you are developing your plugin on a Linux or Mac, you can follow
the online guide for installing the JDK at https://developer.
atlassian.com/display/DOCS/Set+up+the+SDK+Prerequisi
tes+for+Linux+or+Mac .
 
Search WWH ::




Custom Search