I am getting the error
error: invalid flag: ./Hello
Usage: javac
How do I fix this?
I am getting the error
error: invalid flag: ./Hello
Usage: javac
How do I fix this?
https://replit.com/@NancyHeagerty/Hello-World?lite=1#.replit
avoid having spaces in file names, because unfortunately most scripts aren’t tested on such files. And name your class Main
instead of Hello World
, for replit to run it.