Eclipse, its installation and use

Eclipse is a free open-source Java environment available from http://eclipse.org. Eclipse is a Java program, but it uses a custom user interface toolkit that does not run on all platforms that supports Java 2. Check the web site for supported platforms. Eclipse requires a Java 2 runtime, so you need to install the Java 2 SDK first before installing Eclipse.

You can download the SDK from HERE.
This screen comes when opening eclipse.After loading this another screen comes in front of you which is given  below.


Setting preferences

It is a good idea to set preferences for the Java editor that match the conventions of the textbook. Select Window->Preferences from the menu. Select Java->Appearance->Code Formatter from the tree in the left panel.

Then check the boxes Insert a new line before an opening brace and Insert new lines in control statements.
Click on the Style tab. Then uncheck Insert tabs for indentation, not spaces. Set Number of spaces representing an indentation level to 3.
Click the OK button to save your settings.
Now you are ready to use Eclipse.

Related

JAVA 6276240720903094621

Post a Comment

emo-but-icon

item
href="http://www.ariyan.org">Wordpress