my Java Application has to read and write files located in sub folders from the current directory of the executable itself. This are NO resource files but own document files.
When I create an executable for MAC and start it from the terminal with ./prgrammname everything works fine. But if I start it by double click from the mouse the subfolders are not found. Looks like there is a problem with the working directory.
Hi,
my Java Application has to read and write files located in sub folders from the current directory of the executable itself. This are NO resource files but own document files.
When I create an executable for MAC and start it from the terminal with ./prgrammname everything works fine. But if I start it by double click from the mouse the subfolders are not found. Looks like there is a problem with the working directory.
How can I solve this?