Darth Blue Ray
Darth Blue Ray

Reputation: 9745

Issue while running executable Jar

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 :

enter image description here

The structure of my project is like this.

enter image description here

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

Answers (1)

Jigar Joshi
Jigar Joshi

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

Related Questions