I propose a small change to the Abstract game error handling that hopefully might put an end to the neverending list of "java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path" questions.
I have added a page to the wiki that details how to avoid this problem, and have added an exception handler to Abstract game that displays a message pointing to this page.
Hopefully it will help ( the page may need some work, but its a start for now )
Index: AbstractGame.java
===================================================================
--- AbstractGame.java (revision 4349)
+++ AbstractGame.java (working copy)
@@ -255,6 +255,13 @@
Thread.sleep(50);
} catch (InterruptedException e) {
logger.warning( "Error waiting for dialog system, using defaults.");
+ } catch (UnsatisfiedLinkError t){
+ if( t.getLocalizedMessage()!=null && t.getLocalizedMessage().contains("java.library.path") ){
+ logger.severe("nnNative library not set - go to nhttp://www.jmonkeyengine.com/wiki/doku.php?id=no_lwjgl_in_java.library.path nfor details.");
+ }
+ t.printStackTrace();
+ } catch (Throwable t){
+ t.printStackTrace();
}
dialogCheck = dialogRef.get();