Ticket #29647: patch-test.java.diff

File patch-test.java.diff, 627 bytes (added by humem (humem), 13 years ago)
  • test.java

    old new  
    55public class test {
    66  static {
    77    try {
    8        System.loadLibrary("MeCab");
     8       System.loadLibrary("mecab-java");
    99    } catch (UnsatisfiedLinkError e) {
    10        System.err.println("Cannot load the example native code.\nMake sure your LD_LIBRARY_PATH contains \'.\'\n" + e);
     10       System.err.println(e);
     11       System.err.println("Cannot load the example native code.");
     12       System.err.println("Please specify -Djava.library.path=@java_library_path@");
    1113       System.exit(1);
    1214    }
    1315  }