0

I recently installed Geany on my Ubuntu machine and I'm looking to compile and run my .java and .class files in specific folders, but I've hit a brick wall. Coming from Windows I set the Compile build command to javac -d /Home/leon/Documents/classes "%f" and Execute to java -cp /Home/leon/Documents/classes "%e" but I get a "directory not found" error when I try to build a file even though the directory exists. What am I missing?

  • ... /Home/leon/Documents/classes/*? usually it is /home, but you may be able to put ~/Documents/classes/* instead. – Wilf Dec 31 '13 at 10:27
0

Try this: /Home/leon/Documents/classes/*

Usually it is /home, not /home, you could also copy the file, and paste it into a text editor to get the path of a file.

You may be able to put ~/Documents/classes/* instead, as ~ represents /home/USERNAME.

Hope this helps smiley

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.