How can I compile java program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I compile java program

I moved my jdk and jre to same location on hard drive C .Also I setup all the path variables in my computer advance options .When I opened cmd and typed there javac to check wether it is working it shows nothing.Please help me

25th Aug 2016, 9:20 AM
Jatin Kumar
Jatin Kumar - avatar
4 Answers
+ 5
get a compiler
25th Aug 2016, 12:37 PM
David Akhihiero
David Akhihiero - avatar
0
which type of compiler
25th Aug 2016, 12:49 PM
Jatin Kumar
Jatin Kumar - avatar
0
javac filename.java
25th Aug 2016, 5:31 PM
dharm raj
dharm raj - avatar
0
first you write the programme then in the upside options will be there... So then click on compile option... if there will be no errors in your programme then your programme will get compiled....
5th Sep 2016, 11:35 AM
Sagar Kumar
Sagar Kumar - avatar