It's weird, if I run java -jar on a .jar file in a directory I created under my home directory, it says it can't access the .jar file. But if I move the .jar file to the Downloads directory, it works just fine. Here is a permission list of the two directories:
drwxrwxrwx 3 michael michael 4096 Jul 22 14:44 Downloads
drwxrwxrwx 4 michael michael 4096 Jul 22 14:44 Ducky
If I run the "java -jar jarfile.jar" within Ducky, it comes back saying it cannot access the file jarfile.jar. But if I copy the file out of there, put it in Downloads, and then copy it back. It works. The permissions change it seems as the colour of original file was red and the newly copied file is green. I don't know why it was working.
Can anyone explain it? (type slowly please