How do I compile and run JAVA program in Window 7?

Moseley

Senior Member
Jul 10, 2010
187
92
Hi?
I need to know how can I compile and run a JAVA program in Window seven.. I was trying but I am unable to make it..


- Firstly i installed the JDK 5 in my system..

- I copied the path for the executable files (for the bin directory), and I pasted it in the environment variables paths

- I created the simple java program. I used javac to compile, and java to run. The file name and program class name were the same, There were no error on compilig, but execution gave no output..

Any cruel??
 
wish i could help, im using window XP, and textpad to write my programs.
 
Hi?
I need to know how can I compile and run a JAVA program in Window seven.. I was trying but I am unable to make it..


- Firstly i installed the JDK 5 in my system..

- I copied the path for the executable files (for the bin directory), and I pasted it in the environment variables paths

- I created the simple java program. I used javac to compile, and java to run. The file name and program class name were the same, There were no error on compilig, but execution gave no output..

Any cruel??

google
it

Nadhani kwenye windows kuna path ya kufanya setting/edditing ili mambo yawe sawa So hakikisha path zako za java ziko sahihi.

check this link if they might be of help



 
0 Reactions
Reply
Back
Top Bottom