Ok, what am I doing wrong. Again, am trying to learn this thing called Java but, at my age I think is to late. Anyway, I already follow all the steps necessary to download, install, change the path, etc. Every time I run Javac I get this error:
C:\Users\Alfredo\OneDrive\Desktop\Java-practice> javac HellowWorld.java
error: file not found: HellowWorld.java
Usage: javac <options> <source files>
use --help for a list of possible options
Without the .java extension, I get:
C:\Users\Alfredo\OneDrive\Desktop\Java-practice>Javac HelloWorld
Error: Could not find or load main class HelloWorld
Caused by: java.lang.ClassNotFoundException: HelloWorld
The file is in the folder
Directory of C:\Users\Alfredo\OneDrive\Desktop\Java-practice
02/11/2025 08:50 AM <DIR> .
02/10/2025 02:52 PM <DIR> ..
02/11/2025 09:07 AM 157 HelloWorld.java.txt
1 File(s) 157 bytes
2 Dir(s) 100,030,808,064 bytes free
Please help and remember am almost 65 years old