Cant load mecab in java windows
up vote
0
down vote
favorite
I'm trying to use mecab library in java on windows. I've installed a prebuilt mecab library for windows. When I try to load it like
try{
System.loadLibrary("libmecab");
}catch(Exception e){
// print stack trace
}
it throws a following error.
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.chasen.mecab.MeCabJNI.new_Tagger__SWIG_0(Ljava/lang/String;)J
at org.chasen.mecab.MeCabJNI.new_Tagger__SWIG_0(Native Method)
at org.chasen.mecab.Tagger.<init>(Tagger.java:140)
I've added mecab on library path
-Djava.library.path="c:/mecab/bin"
I can access Mecab from windows command prompt. Has anybody faced a similar problem and resolved the issue? Any help here is appreciated.
java mecab
add a comment |
up vote
0
down vote
favorite
I'm trying to use mecab library in java on windows. I've installed a prebuilt mecab library for windows. When I try to load it like
try{
System.loadLibrary("libmecab");
}catch(Exception e){
// print stack trace
}
it throws a following error.
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.chasen.mecab.MeCabJNI.new_Tagger__SWIG_0(Ljava/lang/String;)J
at org.chasen.mecab.MeCabJNI.new_Tagger__SWIG_0(Native Method)
at org.chasen.mecab.Tagger.<init>(Tagger.java:140)
I've added mecab on library path
-Djava.library.path="c:/mecab/bin"
I can access Mecab from windows command prompt. Has anybody faced a similar problem and resolved the issue? Any help here is appreciated.
java mecab
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to use mecab library in java on windows. I've installed a prebuilt mecab library for windows. When I try to load it like
try{
System.loadLibrary("libmecab");
}catch(Exception e){
// print stack trace
}
it throws a following error.
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.chasen.mecab.MeCabJNI.new_Tagger__SWIG_0(Ljava/lang/String;)J
at org.chasen.mecab.MeCabJNI.new_Tagger__SWIG_0(Native Method)
at org.chasen.mecab.Tagger.<init>(Tagger.java:140)
I've added mecab on library path
-Djava.library.path="c:/mecab/bin"
I can access Mecab from windows command prompt. Has anybody faced a similar problem and resolved the issue? Any help here is appreciated.
java mecab
I'm trying to use mecab library in java on windows. I've installed a prebuilt mecab library for windows. When I try to load it like
try{
System.loadLibrary("libmecab");
}catch(Exception e){
// print stack trace
}
it throws a following error.
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.chasen.mecab.MeCabJNI.new_Tagger__SWIG_0(Ljava/lang/String;)J
at org.chasen.mecab.MeCabJNI.new_Tagger__SWIG_0(Native Method)
at org.chasen.mecab.Tagger.<init>(Tagger.java:140)
I've added mecab on library path
-Djava.library.path="c:/mecab/bin"
I can access Mecab from windows command prompt. Has anybody faced a similar problem and resolved the issue? Any help here is appreciated.
java mecab
java mecab
edited 2 days ago
asked 2 days ago
Kiran Kyle
33
33
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53373636%2fcant-load-mecab-in-java-windows%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown