windows 7 java weka 的类路径在哪里
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16714988/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where is classpath for windows 7 java weka
提问by MonsterMMORPG
I want to use libsvm in weka but it says there is no libsvm in weka classpath
我想在weka中使用libsvm,但它说weka类路径中没有libsvm
How do i find this class path in Windows 7 x64
我如何在 Windows 7 x64 中找到此类路径
I also installed x64 version of weka
我还安装了 x64 版本的 weka
I don't see any classes in weka folder
我在 weka 文件夹中没有看到任何课程
I already downloaded libsvm jar file
我已经下载了 libsvm jar 文件
thanks for the help
谢谢您的帮助
回答by Bull
This web page shows how to set the classpath http://weka.wikispaces.com/CLASSPATH. The procedure it gives for Win32 will work on Windows 7.
这个网页展示了如何设置类路径 http://weka.wikispaces.com/CLASSPATH。它为 Win32 提供的程序将适用于 Windows 7。
Here is a slightly longer version of what's on that page:
这是该页面上内容的稍长版本:
- Start->Control Panel->System->Advanced System Settings->Environment Variables
- Select CLASSPATH under System Variables and click Edit...
- Add a semicolon to the end followed by the full path of libsvm.jar
- click OK, 3 times
- restart Weka and, everything else being OK, it will work.
- 开始->控制面板->系统->高级系统设置->环境变量
- 在 System Variables 下选择 CLASSPATH,然后单击 Edit...
- 在末尾添加分号,后跟 libsvm.jar 的完整路径
- 单击确定,3 次
- 重新启动 Weka,其他一切正常,它将起作用。
回答by InGeek
CLASSPATH should have the lib folder path of JDK
CLASSPATH 应该有 JDK 的 lib 文件夹路径