Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have developed a fairly simple game, 3d dimensional, using lwjgl & lwjgl_util. After exporting it using jarsplice, everything works fine, except for some reason I have to have the res folder in the same directory as the jar, NOT in the jar, for it to work. Could someone explain why this is and what I can do to fix it?

share|improve this question
Sounds to me like perhaps you're trying to access resources as files instead of getResource/getResourceAsStream. This won't work if they're packed into the jar. It helps when you ask questions to give specific errors instead of "doesn't work". – Chuck Adams Jan 23 at 1:39
Not quite sure what you mean... how would I do that as you're describing? – Colin Moore Jan 25 at 22:09

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.