Eclipse is open source, free and easy to use IDE. This is most popular java IDE that is used in open source as well as commercial application. Eclipse is supported by many software companies like Borland, IBM etc. So learning eclipse can help you get the most out of your java development. Apart from java, eclipse can be used for C/C++ & PHP as well.
This article will give you overview of Eclipse IDE and common activities that can be done under the Eclipse environment.
Before you install eclipse on your machine you need to have Java JDK installed on your system. Current available version for java is 6, so you’ve to download JDK 6 from here. After successful installation of JDK, you’ve to install Eclipse.
Installing Eclipse
Go to Eclipse website .Make sure you download the stable release from the download page of the website. After you download Eclipse, you will want to unzip the folder to anywhere on your computer, like C:/Eclipse/.There is no installation. Launch the program by clicking on the eclipse.exe executable which is at the top level of the Eclipse directory. You can place shortcut onto your desktop and then run it from there.
Extending Eclipse
There are many Plug-ins & development packs available for eclipse. For example, QT jambi, XML, PDT and many others. You can browse through the eclipse website for more information about plug-ins.
Note: Installation of Eclipse in windows & in Linux varies. Check eclipse website for the instruction on how to get it for Mac OS X & Linux.

Creating Java project
There are many ways with which you can create java project.
The next screen has four tabs: Source, Projects, Libraries, Order and Export. Source tab has all the options to let you add more source & output folders in your project. With project tab you can connect your java project multiple java project to your project. Libraries option allows you to select multiple JRE on your project. The order and export option sets the order in which project should be laid out & exported. If you’re new to these tabs just keep the default setting as it is. Click on Finish button this will open up empty class (with or without PSVM).Your new project will be displayed in java perspective.
Creating new class
Select a name for your package and click finish.Note: Make sure that you’re selecting the proper project & source folder.
b) Creating Java Interface
2. Select the (New) icon of the button in the upper left of the toolbar >Select Interface.
Give your interface a name, select the proper package that you want for interface needs to extend.Click Finish. The new Interface will be open in the editor.
Running program
To run an application, you must create a run configuration that specifies the class that contains the main method for the application. Eclipse offers you multiple ways of achieving this same thing. You can run your java program using following methods:
If you want you can modify the default run configuration using Select Run > Java Application, then click the New button at the bottom left of the screen. This creates a new run configuration. You can then name the setting, browse & select the project. Enter the command line arguments if any in arguments tab. You can add more jar files in classpath tab. Once you done with it you can then click Run to run the program.
Eclipse Docs
If you come across any problem or if you need help with eclipse, you can use eclipse DOCS. You can select the Help Contents or Search command from the Help menu. To search for a topic, enter a search string in the Search text box and click on the Go button. That will display a list of search results in the Search Results pane.
Eclipse community is the best place to get your questions answered. You can use following resources for more information on eclipse:
Eclipse http://eclipse.org

Leave a Reply