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

Moseley

Senior Member
Joined
Jul 10, 2010
Messages
186
Points
195

Moseley

Senior Member
Joined Jul 10, 2010
186 195
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??
 

Mtazamaji

JF-Expert Member
Joined
Feb 29, 2008
Messages
5,972
Points
0

Mtazamaji

JF-Expert Member
Joined Feb 29, 2008
5,972 0
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



 

Forum statistics

Threads 1,392,125
Members 528,544
Posts 34,099,456
Top