weka出现Error, not in CLASSPATH?解决方案

这里说说weka的安装及出现的主要问题。
首先,下载weka的稳定版本http://prdownloads.sourceforge.net/weka/weka-3-6-8.zip,然后解压。终端进入weka目录


执行java -Xmx1000M -jar weka.jar


一般会出现下面的提示:
---Registering Weka Editors---
Trying to add database driver (JDBC): RmiJdbc.RJDriver - Error, not in CLASSPATH?
Trying to add database driver (JDBC): jdbc.idbDriver - Error, not in CLASSPATH?
Trying to add database driver (JDBC): org.gjt.mm.mysql.Driver - Error, not in CLASSPATH?
Trying to add database driver (JDBC): com.mckoi.JDBCDriver - Error, not in CLASSPATH?
Trying to add database driver (JDBC): org.hsqldb.jdbcDriver - Error, not in CLASSPATH?


分析得知找不到数据库的相关驱动。


这几个驱动jar包在这里下载:http://vdisk.weibo.com/s/lTD5u

你可能感兴趣的:(weka jar)