We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,124 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Java Executable, importing images, HELP!

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 .

2
Contributors
1
Reply
1 Hour
Discussion Span
8 Months Ago
Last Updated
2
Views
thompsonSensibl
Light Poster
36 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

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

stultuske
Industrious Poster
4,377 posts since Jan 2007
Reputation Points: 1,318
Solved Threads: 610
Skill Endorsements: 24

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0625 seconds using 2.82MB