KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am using NLTK's nltk.tag.stanford, which needs to call the java executable. I set JAVAHOME to C:\Program Files\Java\jdk1.6.0_25 where my jdk is installed, but when run the program I get the error "NLTK was unable to find the java executable! Use the config_java() or set the JAVAHOME variable" Then I spent 3 hours on debugging it and tried config_java("C:/Program Files/Java/jdk1.6.0_25/") config_java("C:/Program Files/Java/jdk1.6.0_25/bin/") and those without the ending "/". However the nltk still cannot find it. Anyone has idea about what's going wrong? Thanks a loooot!
Tags (comma-separated)
Save Edits
Cancel