Anonymous - 2012-05-11

Originally posted by: zenis...@yahoo.com

The following steps worked for me (Java 7) when I was trying to set up my Android development Linux machine today:

1. extract the archive to /usr/local/lib/jvm/java-7
2. cd /usr/local/bin
3. sudo ln -s /usr/local/lib/jvm/java-7/jdk1.7.0_04/bin/* .

Note that these steps might not replace everything update-java-0.5b does, but I am now able to develop Android applications on Ubuntu 12.04 without any problems.