This tutorial will guide you on how to prepare a development environment to start your work with Spring Framework. This tutorial will also teach you how to setup JDK, Tomcat and Eclipse on your machine before you setup Spring Framework:
Step 1 - Setup Java Development Kit (JDK):
Download latest java (JDK ) version from oracle's java site.
Set to the class path for this JDK version in case Window OS.
set PATH=C:\jdk1.6.0_23\bin;%PATH%
set JAVA_HOME=C:\jdk1.6.0_23
Alternatively, on Windows NT/2000/XP, you could also right-click on My Computer, select Properties, then Advanced, then Environment Variables. Then, you would update the PATH value and press the OK button.
On Unix (Solaris, Linux, etc.), if the SDK is installed in /usr/local/jdk1.6.0_23 and you use the C shell, you would put the following into your .cshrc file.
setenv PATH /usr/local/jdk1.6.0_23/bin:$PATH
setenv JAVA_HOME /usr/local/jdk1.6.0_23
Step 2 - Install Apache Common Logging API:
After a successful startup, if everything is fine then it should display following result: