Install JDK and Run First JAVA Program

Hi Folks. Now its Time get The hands on Some Real Core Part Of Programming.These Days I'm mess...

Hi Folks. Now its Time get The hands on Some Real Core Part Of Programming.These Days I'm messing with Programming in JAVA. So I just Thought to Write this Article on Installing the JDK(Java Development Kit). Without much wait lets get our hands on JAVA..

You Can Download the JDK1.6.0 from here

Once You get the file extract it and click on the main setup File.

Click-> Accept

Then Click-> Next
and now the installation Start

Once its Finish.. The installation of Java Run Time Environment also start

Click-> Next

Once the installation is Over. Click -> Finish.Hence The Installation of JDK is Finish. Its Time To configure it

Now, Right Click->My Computer. Select Properties.
Then select->Advanced Tab->Environment Variables

From Environment Variables.. in System Variables box select->path
then click->Edit

Then at the end in the Variable Value Box Type:

   C:\Program Files\Java\jdk1.6.0\bin; 

Remember To Put the Semicolon(;) at the End of Line. 

Then Press OK. Now the JDK is Configured Properly.  :)

Compile and Execute The JAVA program :

Now Lets Try to Run our First JAVA Program.

Open Notepad and type the Following Code

Now, Save As->
Say we Save this File at the Location- E:\Java (where Java is the name of a Folder)

Now go to->Run. Type-> cmd
You will see the Command Prompt Window.
Now Follow the Commands From the Image below.

Command To Compile The File is -> javac
Command To Execute The File is -> java First.

Now, Finally you See the Output as-> Hello World !!
That's it.
Now You can try it with different Programs. Always Compile and Execute the Programs in the Similar way. Now Its Up to you.. try some Different Codes in JAVA as its a Fun in Learning this Programming Language. Happy Programming !! ENJOY !! :-)

keep visiting 

android facebook free-zone Freebies hacking How-to programming scripts video whatsapp
Mr Tricks: Install JDK and Run First JAVA Program
Install JDK and Run First JAVA Program
Mr Tricks
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy