+ 1
Help
Hi, if i want to run a Java program, and im in the cmd, how do i find that what i wrote in Notepadd++? I cant find it. I hope that someone can help me thanks:)
3 Answers
+ 2
just go to the directory where you saved your .java file
maybe cd programs then you can use the javac command to compile it - javac filename.java
+ 1
u need to know where u save ur file if u dont remember u can go to the Windows explorer and u can search the name of ur file there if u dont remember the name of the file well idk what u can do, command to change directory "cd"
0
and how do i got the the directroy?
So do I have to go to the directory in the cmd and if so how do i do that?



