tags:

views:

4

answers:

1

I had an application with JTree will display the file in certain directory. After i export this application to jar file. The JTree can not read the file from the directory. Any idea?

A: 

Did you bundle the file into the jar? If you're trying to get your application to run as .jar, you can't use resources that don't exist in that jar.

Shakedown
yes got the file is together inside the jar file