Saturday, September 14, 2013

How to create your first Java code on Eclipse: Class 200

     How to create your first Java code on Eclipse: Class 200

     Double click on Eclipse short-cut icon, mine Eclipse IDE is Juno flavour. 
    
    Click New+ under file menu option then again click on Java project.(Fig. J1) 
     
    Click next after entering Java Project name.(Fig. J2) 

In Java settings page (Fig. J3) just click finished. 
     
    After this the IDE workbench windows (means the windows for writing code opens) now, again right click on “src” folder select “New” and then select “Class” (Fig. J4). 
    
    A New Java “class” file windows opens up, write down the name for that class and click finished. (Fig. J5). 
     
    Now the user named class file open up. (Fig. J6
    
    Now write down the code, which shared in the Fig. J7.  
     
    And now, you can see your output/result in the eclipse-ide console window. 

No comments: