문제

I run the following command: java weka.core.converters.CSVLoader filename.csv > filename.arff

but i have an error telling me: Could not find or load main class weka.core.converters.CSVLoder.

What is the problem?

도움이 되었습니까?

해결책

The problem is in my opinion that weka.jar is not in your classpath.

You can either add weka.jar to your classpath, or run the same command but adding the classpath for weka:

java -cp "%CLASSPATH;C:\progs\Weka-3-6\weka.jar" weka.core.converters.CSVLoader filename.csv > filename.arff
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top