How to compile a java program ?

1.Open command prompt using Start-->Run---> type cmd

2.In command prompt type cd c:\ java ( or your java directory path name)

3.Now type javac ( replace Xyz with your file name)

4.If compiled successfully type java Xyz


Helpful articles :

Hello Word for Microsoft windows

Related Video :

No comments:

Post a Comment