문제

I have Windows7 OS and want to use MEKA GUI what I did is the following:

  1. downloading meka-release1.5.zip from http://sourceforge.net/projects/meka/files/meka-1.5.0/

  2. extracting it, and type run.bat in cmd.exe

But I had the following Error :

Error: Could not find or load main class .\lib\Jama.jar

Can any one help with clear steps how to install and use MEKA EXplorer?

도움이 되었습니까?

해결책

Suppose you have unzipped it into c:\tmp\meka\, so you have c:\tmp\meka\run.bat, you can:

  1. open a shell (cmd.exe)
  2. go inside your tmp dir: cd c:\tmp\meka\'
  3. call .\run.bat'

You should at least use a JRE >= 6, because the script is using the star notation in order to list the Jars:

@ECHO OFF

SET MEMORY=512m
SET MAIN=meka.gui.explorer.Explorer

java -Xmx%MEMORY% -cp ".\lib\*" %MAIN% %1

다른 팁

I did have the same problem, only way to fix was adding all jar files to the -cp option

java -Xmx%MEMORY% -cp  "lib\Jama.jar;lib\junit.jar;lib\meka-1.5.jar;lib\moa.jar;lib\mst.jar;lib\mulan.jar;lib\weka.jar;lib\weka-test.jar" %MAIN% %1
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top