--- test.java.orig	2012-01-13 23:58:07.000000000 +0900
+++ test.java	2012-01-14 22:44:07.000000000 +0900
@@ -7,9 +7,11 @@
 public class test {
   static {
     try {
-       System.loadLibrary("MeCab");
+       System.loadLibrary("mecab-java");
     } catch (UnsatisfiedLinkError e) {
-       System.err.println("Cannot load the example native code.\nMake sure your LD_LIBRARY_PATH contains \'.\'\n" + e);
+       System.err.println(e);
+       System.err.println("Cannot load the example native code.");
+       System.err.println("Please specify -Djava.library.path=@java_library_path@");
        System.exit(1);
     }
   }
