Arduino IDE 1.0 On Linux Mint 12

mellis:
It looks like the problem is with this line in the "arduino" launch script:

APPDIR="$(dirname -- $(readlink -f -- "${0}") )"

This is supposed to figure out what directory the arduino software is in, even if the "arduino" script is a symbolic link. It looks like readlink isn't returning something that dirname can handle. Anyone have an idea of how to change it? I'd suggest posting follow-ups on the Google Code issue list (Google Code Archive - Long-term storage for Google Code Project Hosting.) so they don't get lost.

This is not where the problem is. It's easy to see just do an echo $APPDIR > and see what you get. I got the correct directory so I know that is not the problem but I still have the error. But if you look at the very last part of the very last line you find processing.app.base . This is what is causing the error.

But why? If you look at this line of the script:
export PATH="${APPDIR}/java/bin:${PATH}"
and you found out what APPDIR is using echo $APPDIR > you will find that java doesn't exist under APPDIR. So the first part of the PATH is incorrect but the second finds java. But the java it finds knows nothing about processing.app.base. So it throws the error.

The ${APPDIR}/java/bin is the directory structure of processing not arduino so go figure.