I've done some searching around both on this site and Google but haven't been able to find any information. I have a Java application that launches .app files in Mac OS. Now I understand that the .app extension is not really an executable but rather an application bundle which contains the executable in the "/Contents/MacOS/" sub directory.
For my example I'll use the app "/Applications/Chess.app". So in this case, the actual executable is located in "/Applications/Chess.app/Contents/MacOS/"
Is it simply just a matter of setting the working directory to be "/Applications/Chess.app/Contents/MacOS/"?