Install the following software (Versions are as of time of writing/updating this file):
- Latest JDK 7 (1.7.0u21) - http://www.oracle.com/technetwork/java/javase/downloads/index.html
- Latest Maven (3.0.5) - http://maven.apache.org/
- Latest Eclipse Juno for Java EE Developers (4.2.2 aka 4.2 SR2) - http://www.eclipse.org/downloads/
- Install Latest Spring STS and Maven (M2E) support if not already there
- Install the sample spring-hibernate-cf example application from STS
- Latest Jenkins WAR file (version changes weekly)- http://www.jenkins-ci.org
Set the following environment variables.
PATH separators are Operating System dependant, using colons in this example (Unix bash shell):
M2_HOME=$MAVEN_INSTALL JAVA_HOME=$JDK_INSTALL ECLIPSE_HOME=$ECLIPSE_INSTALL PATH=$JDK_INSTALL/bin:$M2_HOME/bin:$ECLIPSE_HOME/bin
export JAVA_HOME M2_HOME ECLIPSE_HOME PATH
On command line run:
- java -version (you should get back JDK1.7.0_21 )
- mvn -version (you should get back Maven 3.0.5)
- cd $JENKINS_INSTALL
- java -jar jenkins.war (this should start up Jenkins)
On the desktop run:
- Eclipse (Eclipse IDE should start)