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

Moseley

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

22nd

JF-Expert Member
Aug 1, 2010
497
195
wish i could help, im using window XP, and textpad to write my programs.
 

Mtazamaji

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



 

Toa taarifa ya maudhui yasiyofaa!

Kuna taarifa umeiona humu JamiiForums na haifai kubaki mtandaoni?
Fanya hivi...

Umesahau Password au akaunti yako?

Unapata ugumu kuikumbuka akaunti yako? Unakwama kuanzisha akaunti?
Contact us

Top Bottom