|
OK Ive fixed the problem. I used a Shell-Script to launch the JAR, and then of course the shell-script automatically sets the working directory correctly. Is it common practice to use shell-scripts to launch Java programs in Linux, or using Batch files to launch Jar's on windows? I noticed on Linux that NetBeans uses a shell-script to launch. Any advice?
|