JDK Download and Install
JDK Download and Install
Install the exe file by double clicking on it. Give the user name and password. You can unselect the server to install. Eclipse download and install: Download from http://www.bluage.com/?cID=eclipse_free_download_ Install the exe file by double clicking on windows. When you want to uninstall the softwares you want, go to Control Panel --> Programmes and features. You can select and uninstall. Open the eclipse you will see some waring. You need to setup the path, what is a path? Every other sofware try to look at the System Environment variable called Path to run the depedant programs. To set the path go to Control Panel --> System --> Select Advanced System Settings --> Advanced --> Environmental variables. , first you need to create a JAVA_HOME environmental variable because when we try run or use Java related third party tools those tools try to look at this JAVA_HOME to execute related java softwares installed in it. For this select New , then in the window you give JAVA_HOME in the variable name and C:\Java 1.5\jdk, where C:\Java 1.5\jdk is the directory where you installed the java, value in the variable value. Then as a second step select the Path which should have been created already by OS (Otherwise you need to select New). Select Path and select Edit. In the variable value go to end give ; and give like %JAVA_HOME%\bin. Here % % means replace the value of JAVA_HOME. Instead of creating JAVA_HOME and concatenating with % you can also directly give ;C:\Java 1.5\jdk\bin. But as i told some softwares related to java looks for this JAVA_HOME better we create it. Now you open the eclipse. Select Window-->Preferences-->On left side select Java -- Installed JREs, you can see the JAVA_HOME value that we created as default JRE. Tomcat download and install: Download from http://mango.serotoninsoftware.com/download.jsp. Extract by unzipping. Configure the tomcat in eclipse (http://plato.acadiau.ca/courses/comp/dsilver/2513/eclipseandtomcattutorial/), after that if you create a project in eclipse then eclipse will add the configuration like the following in server.xml which is there in C:\apache-tomcat-6.0.20\conf\ <Context path="/TomcatProject" reloadable="true" docBase="C:\Workspace\StrutsExample\TomcatProject" workDir="C:\Workspace\StrutsExample\TomcatProject\work" />