GET ADMISSION in any stream CONTACT :: Mr. JAYDEEP MEHTA :: CONTACT NO :: 9228217183
Get & share knowledge with us... Be a part of GTU-MATERIAL. send study Material at gtumca1@gmail.com with your Name - College name...

Friday, February 11, 2011

How to run java program


Step :
1. Download JDK (Java Development kit) ((Download)) and install it ..
2. Now go C:\Program Files\Java\jdk1.6.0_17\bin is it right then copy this path.
3.Open my computer properties > Advance tab > Environment variables >
4.Double click on path

5.in variable value: make ";" semi colon and paste the copied path and again do semi colon  ";"
6.ok.
7.for conformation open cmd (command prompt) and type "javac"
8. Now your java successfully install ..
9. How to run.. so go this link copy any program in your notepad and save it same name as class name which contain main function..
10. open cmd and go path where you save program .
11. type javac progName.java (for compile the program) and then type java progName (for run that prog.)

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More