Skip to content

Setting up your environment

Jose Pinto edited this page Sep 13, 2013 · 5 revisions

Install Java Development Kit

In order to run Neptus, first you need to install a Java version 1.7 run time environment (JRE). Moreover, if you want to extend Neptus, you need to have a Java Development Kit (JDK) so that you can compile and package your code into a jar plug-in. So download the latest Java JDK from here.

Install the Eclipse IDE

After installing the JDK, you should install the latest Eclipse IDE (Kepler at the time of writing) from here.

Clone Neptus' Git repository into your machine

If you have Eclipse Kepler or later, you can import a project from Git. Select import from URI and paste the following text into the URI: https://github.com/LSTS/neptus.git. You can hit Next and import the single project in that repository (Neptus).

Run Neptus in Development mode

After cloning the Neptus repository, if all went well, a new project should be added to Eclipse's Package Explorer. Open this project and select the class pt.up.fe.dceg.neptus.loader.NeptusMain. Right-click it and choose Run As...-->Java Application. Neptus should start using your developing environment.