Hi I just installed the android SDK along with Eclipse 3.5 on my i686 Thinkpad T60 running Ubuntu 10.04 (Lucid). (Eclipse was installed via synaptic, i.e. a package from th
This is an old question, but I want to propose a less 'drastic' answer...
If you don't want to change your file-system mount, an alternative is that you can change the android
tools startup script to explicitly specify the temporary directory that Java should use.
e.g. in the android-studio/sdk/tools
directory, right at the end of the android
script file is the command that executes java
:
exec "$java_cmd" \
-Djava.io.tmpdir=/home/me/android-studio/.tmp \
-Xmx256M $os_opts $java_debug \
-Dcom.android.sdkmanager.toolsdir="$progdir" \
-classpath "$jarpath:$swtpath/swt.jar" \
com.android.sdkmanager.Main "$@"
In this example I use "/home/me/android-studio/.tmp" but of course you change that to whatever you want.
Unfortunately this change will get overwritten if you update your Android tools so you would have to reapply it each time you update. You could instead export
it in your profile as a global environment property (for all Java applications) instead of editing this script.