Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

read config file in jar

807607Oct 20 2006 — edited Oct 20 2006
Hi,
my application runs well, but when when i put it in a executable jar file i have exception java.io.FileNotFoundException: config\database.xml (Le fichier sp�cifi� est introuvable).
where the config directory is under the jar file.

I don't know why this is changing when i pass to a jar file.
How can I read my config files.
Help..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 17 2006
Added on Oct 20 2006
3 comments
1,391 views