When trying to execute a script from a java program, I get an error, saying cannot find cocoa library.
What’s wrong ?
I´m using mac os X “tiger”.
Thanks in advance
If there are no errors in your script, perhaps you could find you answer faster in a Java forum (just an idea )
How are you trying to execute it?
Perhaps you should try:
system("osascript /path/to/script.scpt");
or
system("osascript -e tell application \"Finder\" to activate");
I believe Java has system().