Re: AutoWEKAClassifier

Peter Reutemann <[email protected]>
Newsgroups gmane.comp.ai.weka
Message-ID <CAHoQ12L2sDodyHjqFsx-LriP-7+bmk_egAnmOUepx8QsxbGDdg@mail.gmail.com>
> I can reproduce the error on my Ubuntu 20.04 with the start command "java -jar weka.jar". I find that if I start weka with the weka.sh, it works fine. So I assume it could relate with startup settings such as -classpath. Furthermore, I find if I start it with "java $PWD/weka.jar", it work find too. I think we should launch weka.jar with an "absolute path".

I can confirm, that AutoWeka works when using this command:
java -cp `pwd`/weka.jar weka.gui.GUIChooser

However, it should be possible to infer the absolute location of the
weka.jar using the following two system properties when starting with
"java -jar weka.jar":
java.class.path (= weka.jar)
user.dir (= CWD)

Cheers, Peter
-- 
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174 (office)
+64 (7) 577-5304 (home office)
http://www.cms.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/
_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.