I have a project that I have created in Netbeans.
I would like to deploy it as a JAR file, so i have "build"'ed it and I have a jar which runs nicely in the /dist folder.
Problem is, the program in question requires reading from and writing to, the same file.
Now I have read somewhere that it is not possible to write to files within a jar file, so I want to access a resource outside of the jar file.
The thing is, I have searched and searched and I still cannot find a way to access and write to files outside of the JAR file?