You are here

Development Environment Setup

Software requirements

This is a short guide to setup a KineticModels development environment on Windows or Linux. The guide covers the installation of:

  • JDK 6.0;
  • Maven 2;
  • SVN client;
  • Eclipse;
  • Subclipse.

JDK 6 installation

You can get the JDK version 6 from http://www.oracle.com

On Windows

Download the Windows off-line installation executable and follow the procedure. After the installation add the following system variable

JAVA_HOME=<path to JDK root directory>

and the next path to the system PATH variable

%JAVA_HOME%/bin;

On Linux

Download the Linux self extracting archive, choose a directory where you want to instal the JDK and execute it. After the installation you must add the following lines to the file .bashrc

export JAVA_HOME=<path to JDK root directory>
export PATH=$JAVA_HOME/bin:$PATH

Note

If you are using a JDK or JRE not equal to version 6 and you don't want to override your current OS configuration you can still install the new Java Virtual Machine and avoid the setup of the JAVA_HOME variable. You can later configure Maven2 and Eclipse to use Java 6 independently of your current system configuration.

Maven 2 installation

You can get the latest version of Maven2 from http://maven.apache.org

Installing Maven2 is very easy. Download the latest zip archive, choose a directory where you want to instal Maven and uncompress it.

On Windows

Add the system variable

M2_HOME=<path to Maven2 root directory>

and the next path to the system PATH variable

%M2_HOME%/bin;

If you decided in the previous step not to setup a JAVA_HOME system variable you can update the batch script %M2_HOME%/bin/mvn.bat adding the following line at the beginning

set JAVA_HOME=<path to JDK root directory>

On Linux

Add the following lines to the file .bashrc

export M2_HOME=<path to Maven2 root directory>
export PATH=$M2_HOME/bin:$PATH

If you decided in the previous step not to setup a JAVA_HOME system variable you can update the shell script %M2_HOME%/bin/mvn adding the following line at the beginning

export JAVA_HOME=<path to JDK root directory>

Subversion client installation

You can get the console based client of Subversion from http://subversion.tigris.org