Writing and Running Your Program in Java

1.Launch or Run  Eclipse.

2. Go to Eclipse Eclipse menu bar,choose File⇒New⇒Java Project

A New Java Project dialog box appears

3.In the New Java Project Dialog box,type a name for your new project and then click Finish.                                                          Screenshot (3).png

4.Select your project in the Package Explorer.

5.From  Eclipse’s main menu,choose File⇒New⇒Class    

6.In the New Java Class Dialog box Name field,type the name of your new class.  

  Put a check mark in the public static void main(String[]args) checkbox.   

7.Click Finish.                                                                              


Screenshot (5)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s