Waikato / meka

Multi-label classifiers and evaluation procedures using the Weka machine learning framework.
http://waikato.github.io/meka/
GNU General Public License v3.0
200 stars 76 forks source link

Unable to launch MEKA1.9.6 GUI #76

Closed wghx closed 2 years ago

wghx commented 2 years ago

Hello, I have reviewed issue 69, but I am still unable to launch MEKA1.9.6 GUI in Win10 by double clicking the run.bat file. I have inserted the path to java at the top of the batch file as follows: "set /p path=[C:\Program Files\Java\jdk-18.0.1.1\bin1];%path%" I have updated the JAVA_HOME environment variable. I uninstalled WEKA3.8.5 in case it was conflicting. When I launch MEKA I now get a command prompt window displaying various programs that use Java.

Any help much appreciated. Thank you. Warren

fracpete commented 2 years ago

It says bin1 in the path. Is that correct?

Also, try with Java 11 instead of 18.

wghx commented 2 years ago

Hi, The path is actually bin, that's my typo error here. I have since downloaded 1.9.5 and that launces fine without adding path to Java at the top of the batch file. I then extracted 1.9.6 again from the zip, & this time did not add path to Java at the top of the batch file, and it still does not lauch; CMD screen appears for 2secs then disappears.

fracpete commented 2 years ago

Rather than double clicking on the batch file, launch the batch file from a command prompt. Check if there is an error message.

wghx commented 2 years ago

Error: Could not find or load main class meka.gui.guichooser.GUIChooser Caused by: java.lang.ClassNotFoundException: meka.gui.guichooser.GUIChooser

fracpete commented 2 years ago

Can you list the content of the lib directory?

wghx commented 2 years ago

I can't find the lib direcory in MEKA1.9.6, although I can see it in 1.9.5.

fracpete commented 2 years ago

Did you download the source zip file rather than the release one (meka-release-1.9.6-bin.zip)?

What was the link that you used for downloading? I tried both, the one hosted on Github and the one on Sourceforge.net and they both work for me (under Linux).

This is the content of the meka-release-1.9.6 directory after decompressing the release zip:

api/
data/
lib/
LICENSE.txt
run.bat
run.sh
src/
Tutorial.pdf
wghx commented 2 years ago

I had the source. I've now downloaded the release and it starts up fine under Win10. Is there anywhere that I can download other Multi-Target classifiers that output the numeric class? Thank you.

fracpete commented 2 years ago

AFAIK, there are no classifiers in Meka that do regression.