while creating a package for my file it giving error message
error: no source files
i’m running this command
javac -d .calculator.java
Advertisement
Answer
I don’t fully understand what you tried to do there, but you should try
javac -d . calculator.java
notice the “.” is separated from the “calculator” by a space