Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have written a java program in notepad.how can i compile that?
Which format i should use while saving it?
Is it possible to run it using command prompt?
Posted

1 solution

Reference for command javac[^]

I would always prefer to use Eclipse ot Netbeans for coding. Both are free and they also do the compiling for you.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 5-Dec-12 2:06am    
Yee... a 5. "Notepad" sounds a lame, and Notepad looks like a lame... :-)
--SA
Richard MacCutchan 5-Dec-12 4:03am    
I had to do it that way when I first started with Java, although I was using vi and emacs rather than Notepad. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900