I started to learn Java and the first task was do write a 'Hello World' Code. Saved it in documents and had to open it in cmd. thats what i type in:
cd documents
javac HelloWorld.java
my problem: I always get the error: file not found: HelloWorld.java
the class is definitely HelloWorld and its saved to as HelloWorld.java
but when I open this document the path says:
C:\Users\myusername\OneDrive\Documents\HelloWorld.java
hope you can understand my problem, thx for answers