Seems like there’s an issue here where your code run find in IDE but not after exported to exe.
So the solution is found here:
Problem begins from simpleOpenNI.class, trying to load libs from "/SimpleOpenNI/library/" withou success.
I download the simpleOpenNI.java and i patched to take the current directory adreess and in nativLibPath string.
To patch the java file simple add this line:
static String workingDir = System.getProperty("user.dir");
after public class SimpleOpenNI extends ContextWrapper implements SimpleOpenNIConstants
and change 2 lines (32X and x64)from:
nativLibPath = getLibraryPathWin() "\\lib\\";
nativLibPath = getLibraryPathWin() + workingDir + "\\lib\\";
compile the file and put it on simpleOpenNI.jar\SimpleOpenNI\
or download the atteched file and put it on:
simpleOpenNI.jar\SimpleOpenNI\ located on folder lib!
So, you will need to download the simpleOpenNI fix
and replace with the one in your exportedApp\lib.