When I download the source file of arduino IDE and run ./arduino in the directory. The IDE pops up and then immediately disappear with an error '--curdir no longer supported'. It seems to be related with the arduino script, but I have no idea what the problem is.
If I install the arduino IDE with sudo apt-get install arduino, then it works fine without error. It's strange...