Issue
I'm making a project in Eclipse and building it with Gradle; my OS is Linux. Weird thing that when I create a folder in /home/[myuser]/
, put the Jar into it and try to run it, it doesn't work properly; when I run it from shell, it works. Also it works if I just put it in /home/[myuser]
. Is this problem related to permissions? My program tries to create 2 text files and read some other files on run.
Solution
I figured out the solution - just make shell scripts (.sh and .bat) to launch the program instead of launching the Jar directly.
Answered By - Alexiy