I am terribly sorry for replying to individuals.
Now it works, I really appreciate Peter's help.
Post by Peter ReutemannPlease reply to the mailing list and not to individuals on the mailing
list directly.
However, when I input java -cp c:\weka-3-4\weka.jar
weka.classifiers.bayes.net.GUI <2.xml>
(my system is windows XP, and weka is installed under disk c. 2.xml is the file)
it was said by command prompt that Exception in thread "main"
java.lang.NoClassDefFoundErroe: weka/classifiers/bayes/net/GUI
Weka 3.4.x does not contain the GUI editor. You have to use the
developer version.
Then I turned to the directory where the weka.jar is, and input "java
weka.classifiers.bayes.net.GUI <2.xml>" behind "c:\weka-3-4>"
but the error repeated.
BTW, it is not "<2.xml>" but "2.xml". "<file>" just indicates that you
have to place your filename here...
Then I installed weka with jre again, set "WEKA_HOME=c:\weka-3-4" and add
"c:\weka-3-4\weka.jar" to classpath in the environmental variables,
although I do not know if it is right. I think JAVA environment in my
computer should be OK, because weka runs well. But the error remained the
same.
I am wondering if there is any specific command for windows or I should
update weka to 3-5.
The latter, since it's only available from 3.5.8 on.
Cheers, Peter
--
Peter Reutemann, Dept. of Computer Science, University of Waikato, NZ
http://www.cs.waikato.ac.nz/~fracpete/ Ph. +64 (7) 858-5174
_______________________________________________
Wekalist mailing list
https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist