You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@88884 d073be05-634f-4543-b044-5fe20cf6d1d6
17 lines
627 B
Diff
17 lines
627 B
Diff
--- 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);
|
|
}
|
|
}
|