Install an IDE and Git
If you wish to browse OpenMarkov's code or use it as an API, we recommend you to use an IDE, such as IntelliJ, Eclipse, or Netbeans. In this tutorial we explain the installation of IntelliJ and Eclipse on Windows and Linux. We do not cover other IDEs or other operating systems because none of the researchers in our group are using them, but the installation is similar.
1a. Install Eclipse
We recommend the latest version of Eclipse. Users of Linux distributions, such as Debian and derivatives (Ubuntu and Linux Mint), should avoid the distribution repositories because the Eclipse versions they contain are fairly outdated.
In Eclipse's official page, download the installer for your operating system.
In Linux, unzip it and run the file eclipse-inst.
You will be greeted by a list with different installation bundles. Choose one of these:
- Eclipse IDE for Java Developers
- Eclipse IDE for Java EE Developers (it is larger because it contains more plugins),
and follow the installer instructions.
1b. Install IntelliJ
Get the latest version of IntelliJ for your operating system from its official page. Choose between:
- Community, which is open-source
- Ultimate, which is commercial but offers free licences for students and teachers.
In Linux, unzip the tar file and follow the instructions in Install-Linux-tar.
2. Install a Java Development Kit (JDK)
Download the Java SE Development Kit and install it. You need JDK 8 or a posterior version.
3. Install Git and clone the repositories
Maven is already included in both IntelliJ and Eclipse, but Git is not.
In Windows, install it from its official page.
In Linux, type in the terminal:
sudo apt install git (where apt will be your distribution package manager).
When you are done, clone OpenMarkov to your computer.