Friday, July 11, 2008
Wednesday, July 9, 2008
Eclipse Decoded
Eclipse comes in a zipped format. The steps to install and use Eclipse are as follows.
1. Download eclipse the version youwant.
2. Unzip the package into the path
3. Open Eclipse folder from the path.
4. Double click on the eclipse.exe file.
Eclipse would request you to add a workspace. Workspace is the place where your code would be placed. So, select a proper where you would like to place all your code. Eclipse would open showing a welcome page. Close the welcome page to enter into the main page.
Eclipse consists of the following windows
1. Package Explorer and Hierarchy on extreme left
2. A big empty space in the middle of the screen. Any guess, what would this for. Lets pause this for a minute.
3. Are you wondering about the series of window at the bottom. These are used for output and description of code. Console, the most important of all is the place where the output is shown.
4. Any guesses for the windows stacked at the right corner of the monitor? The outline is where the attributes of the class are shown
Now, are we missing something here? Think again. I think we have not looked into the middle section of the screen Folks, this is the section of our entire operation. This is the place where the classes are written, debugged and executed.
Creating a project:
1. Click on File-->New-->JavaProject
2. Choose a name for your projectm, click on next.
3. On the next screen, select the folder where you would like the class files to be placed.
4. Click Finish.
In the package explorer window, on the left corner of the screen, you would see a folder created with the name. Click on the plus (+) sign in the folder. src is the place where you land up.
What could be this src. Any guesses.
Rite!!!!! its the place where source code is present.
Creating a package:
1. Right click on src and select New-->package
2. Name the package with "." as separator.
Example: com.abc.def would create 3 folders with respective name under src.
3. Click on Ok and the package is created under src.
The package name should never have any capital letters. This is the standard Java coding convention.
Creating a class:
1. Right click on the package and select New-->Class
2. Type in a standar class name in the text box
3. Click on Ok.
The class is created and opened in the middle section of the screen. You can exhibit your entire developing skill in that section.
Ctrl + Space in Eclipse
Pressing Ctrl & Space together in a Class would suggest all available options at that point of time. Make sure you use this trick very liberally.
Folks, eclipse is a pandora box. It is left to you to make use of it. So, do not restrict yourself in just writing some lines of Java, instead try to explore the depth's of pandora' s box.
1. Download eclipse the version youwant.
2. Unzip the package into the path
3. Open Eclipse folder from the path.
4. Double click on the eclipse.exe file.
Eclipse would request you to add a workspace. Workspace is the place where your code would be placed. So, select a proper where you would like to place all your code. Eclipse would open showing a welcome page. Close the welcome page to enter into the main page.
Eclipse consists of the following windows
1. Package Explorer and Hierarchy on extreme left
2. A big empty space in the middle of the screen. Any guess, what would this for. Lets pause this for a minute.
3. Are you wondering about the series of window at the bottom. These are used for output and description of code. Console, the most important of all is the place where the output is shown.
4. Any guesses for the windows stacked at the right corner of the monitor? The outline is where the attributes of the class are shown
Now, are we missing something here? Think again. I think we have not looked into the middle section of the screen Folks, this is the section of our entire operation. This is the place where the classes are written, debugged and executed.
Creating a project:
1. Click on File-->New-->JavaProject
2. Choose a name for your projectm, click on next.
3. On the next screen, select the folder where you would like the class files to be placed.
4. Click Finish.
In the package explorer window, on the left corner of the screen, you would see a folder created with the name. Click on the plus (+) sign in the folder. src is the place where you land up.
What could be this src. Any guesses.
Rite!!!!! its the place where source code is present.
Creating a package:
1. Right click on src and select New-->package
2. Name the package with "." as separator.
Example: com.abc.def would create 3 folders with respective name under src.
3. Click on Ok and the package is created under src.
The package name should never have any capital letters. This is the standard Java coding convention.
Creating a class:
1. Right click on the package and select New-->Class
2. Type in a standar class name in the text box
3. Click on Ok.
The class is created and opened in the middle section of the screen. You can exhibit your entire developing skill in that section.
Ctrl + Space in Eclipse
Pressing Ctrl & Space together in a Class would suggest all available options at that point of time. Make sure you use this trick very liberally.
Folks, eclipse is a pandora box. It is left to you to make use of it. So, do not restrict yourself in just writing some lines of Java, instead try to explore the depth's of pandora' s box.
Java IDE
The best way to learn java is to practice java. Java has been made easy by certain IDE's which are available free in market. One such prominent IDE is Eclipse.
To download Eclipse for JavaSDK, hit http://eclipse.cdpa.nsysu.edu.tw/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-win32.zip.
To download Eclipse for Java EE, hit http://eclipse.cdpa.nsysu.edu.tw/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-win32.zip.
Unzip the package and make use of Eclipse to the fullest possible extend. Do remember, eclipse comes with an in-built JRE ( Eclipse is packaged with a jdk), so you do not have to download jdk separately.
For complete information on Eclipse visit http://www.eclipse.org.
To download Eclipse for JavaSDK, hit http://eclipse.cdpa.nsysu.edu.tw/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-win32.zip.
To download Eclipse for Java EE, hit http://eclipse.cdpa.nsysu.edu.tw/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-win32.zip.
Unzip the package and make use of Eclipse to the fullest possible extend. Do remember, eclipse comes with an in-built JRE ( Eclipse is packaged with a jdk), so you do not have to download jdk separately.
For complete information on Eclipse visit http://www.eclipse.org.
Subscribe to:
Posts (Atom)