What I have works fine in Windows but doesn't work on OS X. The strange thing about it is that if it's run from the command line in OS X, it works, but using Java, it doesn't work for some reason. To be specific, "nothing" happens. No errors, exceptions, freezing or windows. The program just proceeds as if nothing happened.
Here's the code (slightly modified to make it clearer).
Runtime r = Runtime.getRuntime();
String command = "java -Djava.library.path=blah -jar blah.jar";
System.out.println("Caught exception " + ex.getMessage());