clplaner: Avoid a segfault on Wed May 27 20:00 CET 2009
* The IndexShaker would crash on the last two teams - fixed
committer: Markus Bröker <mbroeker@largo.homelinux.org>
public class Console {
public static native int getch ();
private static void help () {
String p = System.getProperty ("java.library.path");
String[] msg = p.split (":");
System.err.printf ("Console Error:\n");
for (int i = 0; i < msg.length; i++)
System.err.printf ("\t%s\n", msg[i]);
System.exit (-1);
};
static {
try {
System.loadLibrary ("Console");
} catch (UnsatisfiedLinkError ule) {
System.err.println (ule.getLocalizedMessage ());
help ();
}
};
}