java - Trouble making an executable jar with lwjgl -


when try make executable jar in netbeans error:

c:\lwjgl\lwjgl-2.8.5\res directory or can't read. not copying libraries.

the res folder holds files jpgs , wavs program relies on function. i'm using lwjgl, part of problem? causing this?

if you're trying run .jar file , it's giving issue not ide, should able open jar file winrar or similar program , copy/paste whole res directory jar file.

you use following code retrieve file in program (instead of you're retrieving "c:\lwjgl\lwjgl-2.8.5\res":

resourceloader.getresource(stringlocationtoresource); 

this return resource trying get.

the file has next src file, , not in it.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -