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.