I built a .pkg from a .jar file with javapackager tool. It works well and the JRE is installed as well as my .jar and the program start like it should. The program is installed in Application folder (on a mac of course) and run well. But it doesn't have the write permission to create a file (in the Application folder).
If I run a chmod -R 777 on my application folder everything is ok.
So how can i give the right to write in the installation folder to the .jar ? Using javapackager (because i don't want my user to have to run a command).
Thanks a lot