0
how do access the .java file in command prompt?
2 Respuestas
+ 1
1. shift+right click on the folder containing file.java
2.click 'open command window here'
3.to compile type
javac file.java
4.to run type
java file
make sure tat class name and file name are same
0
thanks ..however it says file not found...how do i get command prompt to find it through its directory?