terminal - Executing GUI .sh file with Osx -


i'm beginner in kind of stuff suppose solution problem may not difficult. i'm trying open gui file of meka (an extension weka) , it's manual tells me execute file called: run.sh. go console , type 'my file's location'/run.sh , happens message: "the main class not located , loaded", or that.

this content of run.shfile:

#!/bin/bash  memory=512m main=meka.gui.explorer.explorer  java -xmx$memory -cp "./lib/*" $main $1 

so tips?

thank you.

the script depends on being run folder resides in. try:

cd filelocation ./run.sh 

Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -