how to run a .command file?

jsn

Registered
HI

I have created a script file with a "forte.command" extension, to run it thru the Finder.

here is the code :

#!/bin/sh
/Developer/forte/bin/runide.sh -jdkhome System/Library/Frameworks/JavaVM.framework/Home

And made it executable with "chmod +x Forte.command".

when I clik on it it shows an error message :

"Couldn't start up the shell '/Users/myusername/forte4j/bin/forte.command'. Check to be sure that it exists and that you can execute it."

the file exists and is located in the right directory.

Why it does not work?

please help

jsn
 
Top