i have jdk installed on my laptop and when i save any file in user directory of my laptop the program gets compiled perfectly but when i save it on a folder in desktop it shows error could find the file . Plz help.
i got the problem sorted . all i had to do was use cd command to go to the current directory of the folder where my file was located and then it compiled nicely .
It looks like you're new here. If you want to get involved, click one of these buttons!