Hello.

I'm trying to make my first java executable file.

My Java project imports images from a different directory, and uses them. After I make the executable file (through Export in Eclipse) and I delete the directory of images, the executable doesn't show the images.

How can I make the executable 'independent', and make it work without that image folder?

Thank you .

you can store the images inside the .jar file and use these images in your application.
just take a look at this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.