Tuesday, March 12, 2013

Setup System to run java programs

To run a java program we first need a jdk install on our machine,So download Jdk and Eclipse Juno from  http://www.eclipse.org/downloads/packages/release/indigo/sr2



Chosse your downloading option according to operating system.If your operating system is 32-bit the choose operating system 32 Bit else choose operating system 64 Bit.After Download just Extract the eclipse-jee-indigo-SR2-winXX-XX_.XX.zip.No need of installation




Click on the eclipse.exe 
After that it required the workspace where all the project will be save .Give path to the WorkSpace

 Click on Java Project


Next->Give Project name

 Click Finish and make it default perspective

Right Click on src >new>class


Give Class Name ,Check the method Stub to public staic void main(String[] args) and Finish

Create the first basic Program  and click on arrowed button to run the program

Output display in Console.Now you successfully create your first program.In next post discussion on the what happen when we run the Program behind the scene.

0 comments :

Post a Comment