You also configure your operating system to recognize the SDK commands in your environment.LibraryJavaJavaVirtualMachinesjdk1.8.065.jdkContentsHome If the output resembles the above skip ahead to Step 2: Download and Install the SDK The JAVAHOME environment variable specifies the location of the JDK on your system.On Mac OS X, if you accepted the defaults when you installed the JDK, this is LibraryJavaJavaVirtualMachines1.8.0.jdkContentsHome.On Linux, it may be usrlocaljdk, or a similar location.
You should add the JDKs bin directory to your PATH environment variable as well. This ensures your environment is configured and can locate the javac command. Add the following lines at the end of the file: 1. Java 2 Sdk For Mac OS X This IsFor Mac OS X this is usually LibraryJavaJavaVirtualMachines1.8.x.jdk. On Linux it may be usrlocaljdk or similar. Enter the following at the command line to pick up your changes: 1 host: test source.bashprofile Verify you are now seeing the correct result when you enter the command javac -version in terminal 1. Next: Verify that you have set up the SDK correctly Homebrew Open a Terminal window and add the Atlassian Tap to your Brew using the command: 1 brew tap atlassiantap Then install the SDK using the atlassiantap command: 1 brew install atlassiantapatlassian-plugin-sdk Next: Verify that you have set up the SDK correctly Debian, Ubuntu Linux On a Debian-based Linux system like Ubuntu, you can install the SDK using apt-get or aptitude: First, set up the Atlassian SDK repositories: 1 sudo sh -c echo deb stable contrib etcaptsources.list Download the public key using curl or wget: 1 wget Add the public key to apt to verify the package signatures automatically: 1 sudo apt-key add public Then, run the install: 1. Extract the file to your local directory. C opt Rename the extracted folder to atlassian-plugin-sdk. If you are comfortable working with symbolic links, you can set up a symbolic link instead of renaming the directory. Next: Verify that you have set up the SDK correctly Step 3: Verify that you have set up the SDK correctly Open a terminal window and run the following command: 1 atlas-version You should see something similar to: 1. Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize256M; support was removed in 8.0. OS name: mac os x, version: 10.11.6, arch: x8664, family: mac.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |