source: trunk/dports/java/mecab-java/files/patch-test.java.diff @ 81539

Last change on this file since 81539 was 81539, checked in by hum@…, 9 years ago

added a new port for mecab-java version 0.98pre3; Ticket #29647

File size: 627 bytes
  • 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  }
Note: See TracBrowser for help on using the repository browser.