java - Libsvm classes not in CLASSPATH -
i trying use weka libsvm implementation. have installed weka - 3.6 version , add in weka folder libsvm.jar file. put whole path of .jar file in classpath in environment variables. when tried use libsvm function weka api receiving following message: libsvm classes not in classpath
. when type in console echo %classpath%
getting c:\program files\weka-3-6\libsvm.jar
libsvm file. idea may wrong?
the default batch script run weka using following commands:
set _cmd=%1 set _java=javaw if "%_cmd%"=="" set _cmd=default if "%_cmd%"=="-h" set _java=java %_java% -classpath . runweka -i .\runweka.ini -w .\weka.jar -c %_cmd% "%2"
i tried run weka.jar file java -jar weka.jar. got same message error in both cases.
if explicitly use -classpath flag, %classpath% variable not used. can either add libsvm -classpath (it's semicolon separated on windows) or add weka classpath variable.
Comments
Post a Comment