my file name sam.java
it shows follwing error, while compile this program [B] javac sam.java javac: file not found: sam.java Usage: javac <options> <source files> use -help for a list of possible options [/B] [COLOR="Red"] what will i do?[/COLOR]
Archived thread 1026437 from Packaging and Compiling Programs. Markdown source: Packaging_and_Compiling_Programs/thread_1026437_need_helps_to_compile_and_run_java.md
my file name sam.java
it shows follwing error, while compile this program [B] javac sam.java javac: file not found: sam.java Usage: javac <options> <source files> use -help for a list of possible options [/B] [COLOR="Red"] what will i do?[/COLOR]
do cat sam.java if you can see the file contents, the command you typed should work.