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.sh
file:
#!/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
Post a Comment