In BlueBerry, CMake/FunctionCreateBlueBerryApplication.cmake:207 generates a startup script for the application on Unix, based on a template in the MITK source:
CMake/RunInstalledApp.sh
This script steps into the directory where the application is installed, then run it from there.
We had two problems recently with this solution. Many times the install directory is not writeable for the user. In this case if the application crashes, the core file cannot be generated, since it would be written into the working directory. This makes the debugging difficult.
The second problem was that if the user specified an image file on the command line, relative to the directory where he stands, the image won't be opened, since the working directory is changed in the script.
I suggest to remove the 'cd' command and run the application with absolute path. I will send a pull request soon.