Reputation: 9745
I'm having a lot of issue's while running a executable jar I created.
First of all I got a lot of problems when I created the jar by the usual methode in eclipse (indigo). So I switched to the Fatjar plugin. This solved most problems.
But not all, I still have some issue's. For example :
The structure of my project is like this.
By the creation of the jar I all ready included the dir with the property files but he still doesn't find it?!
While running in eclipse I have no problems.
Any suggestions. Thx all.
Upvotes: 0
Views: 102
Reputation: 240900
The file in jar is no more a File
(to the filesystem), It is resource of jar, See how to load properties file from jar
Also See
Upvotes: 1