Sunday, February 24, 2013

Part 2: How to Download and install Eclipse Indigo 3.7.1 and sett and configure jdk as run time environment for Eclipse


Download eclipse indigo 3.7.1 from http://www.eclipse.org/downloads/. You would be downloadingEclipse IDE for Java EE Developers as highlighted in the following figure:
click on your version of your windows, i.e. 32bit or 64bit. Unzip files to your hard disk. This will create a directory named eclipse. Open your directory and click eclipse.exe to run Eclipse. The eclipse stores its files in a folder called workspace; change the name and location of the folder if you want to. The eclipse will start with jre7 as default run time environment. You have to set it to jdk in order to work with GlassFish 3.1 Server which we'll install in the next step.
In order to set jdk for eclipse do the following: In eclipse menubar click on Windows -> Preferences. In the left side panel of Preferences window click on java -> Installed JREs. You would see the jre7 selected as shown in the picture; click on the Add button.
In Add JRE dialogue box select Standard VM and click next. Click on directory and browse to your jdk directory and click Ok. This will open all the files as shown below in the figure; click finish.
Check the currently installed jdk as shown in the figure below and click Ok. You are done.
In the next step you'll install and configure GlassFish 3.1.1 Server for eclipse. So, click Next.

No comments:

Post a Comment