Maybe I'm just a lost cause. Here's my code for the command file
#!/bin/sh
cd "/Applications/A-games/Cave_Story/Music/Org2Text1v1/Org2Text.jar"
java -jar Org2Text.jar
echo "[Program Finished.]"
read nothing
and here's what I get when I try to run it, basically the same problem as before.
Last login: Wed Jun 27 22:02:49 on ttys000
/Applications/A-games/Cave_Story/Music/Org2Text1v1/RunOrg2Text.command ; exit;
Macintosh-156:~ brianmartinez$ /Applications/A-games/Cave_Story/Music/Org2Text1v1/RunOrg2Text.command ; exit;
/Applications/A-games/Cave_Story/Music/Org2Text1v1/RunOrg2Text.command: line 3: cd: /Applications/A-games/Cave_Story/Music/Org2Text1v1/Org2Text.jar: Not a directory
Unable to access jarfile Org2Text.jar
[Program Finished.]
The command file is in the same folder as the .jar file, so I don't know why that should be a problem. But then again, it also says that the place where the .jar file is isn't a directory, even though it definitely is; I got the location by dragging the file into a terminal window so that it would spit out the directory at me, and then I pasted that directly into the command file.
So I don't know. I know you probably have better things to do than troubleshoot for me. I appreciate your help and wish that I could give the program a shot, but I have no idea why it's not cooperating. Other than the fact that I'm on a Mac.