Setting up the Eclipse Environment
Archi is built upon the Eclipse Rich Client Platform (RCP) version 4.7 (Oxygen) and is also developed using the Eclipse Integrated Development Environment (IDE). This section deals with setting up the Eclipse IDE ready for development.
Make sure you have the correct Java JDK installed
Eclipse runs on top of Java so you need to ensure that you have installed the correct Java Development Kit (JDK). You can download this from here. Make sure you choose the right version for your platform and that you choose Java 8. Archi does not yet support Java 9. Linux users may prefer to install OpenJDK from their Install Manager. JDK 8 is the version supported.
Download an Eclipse IDE version 4.7 (Oxygen) from Eclipse Downloads. Ensure that you download a package that is correct for your OS and includes the Git client and support for Eclipse plugin and RCP development (for example "Eclipse for RCP and RAP Developers"). If you choose a basic package you will have to install additional Eclipse plugins (for example, Git integration).
Setting up Eclipse
Extract the Eclipse IDE files somewhere on your development machine. This will create an "eclipse" folder (Or an "Eclipse" app on Mac)
Launch Eclipse from the "eclipse" executable file, or "Eclipse" app on Mac
You will be asked to select a "Workspace". If you're not sure, select the default and check "Use this as the default and do not ask again"
Dismiss the Welcome Screen
Set up Eclipse just how you would like to work with it. See here for more details or search Help within Eclipse
Ensure that you set Eclipse to use the JDK 8 installed on your system, otherwise you won't be able to debug Java code. Set this up in Preferences, Java, Installed JREs and add the JDK.
Note - Archi does not currently support Java 9.
Adding additional plug-ins
You might want to set up your Eclipse installation with more Eclipse plug-ins. Some Eclipse packages don't include Git integration. If this is the case you can add more plug-ins to your Eclipse IDE.
You can add these plug-ins from within Eclipse itself:
Choose Help-->Install New Software... to invoke the wizard
In the "Work with" combo box select "Oxygen - http://download.eclipse.org/releases/oxygen"
Wait for the dialog list to populate (You will see a "Pending..." message. Sometimes this can take a long time...)
From the list under "Collaboration" select "Git integration for Eclipse"
Click "Next" and Accept all terms to Finish the wizard.
Note - sometimes this can take a long time...keep trying...
The libraries should then be installed and you will need to restart Eclipse
Now you are ready to move onto the next stage, Importing the Code.