I am using NetBeans
IDE to do my projects. In netbeans , I just do
and when I run in NetBeans, it can find the properties file. When I go to the distribution folder and execute it without netbeans, it doesn't know where the properties file is even though it's placed right next to the jar file.
My other projects doesn't have this problems with the above except this. Any suggestions ? Maybe I can do a getClass.getResource() method ?