HI all, Started learning Java and im using the Text Editor that was already installed on my pc, (Linux Mint) and i am trying to run my code through the Terminal.
Ive saved my program in a .java file and created a folder called 'programming' for it. the folder is inside the 'Documents" folder. so home/documents/programming.
the issue comes when i try to compile it with 'javac LearningJava.java' and it shows
'error: file not found: LearningJava,java
usage: javac <options> <source files>'
I then typed in 'pwd' in the terminal and it showed '(my username)/home' so i tried moving the file to 'home' and everything worked as i imagine it should. but i would like to be able to save it to my programming folder and run it from there if possible. (I am new to all this stuff so sorry if im not wording it correctly)
any suggestions would be great. thanks - sam