update-java-0.5b crashes zenity in Ubuntu 12.04
Status: Abandoned
Brought to you by:
nilarimogard
Originally created by: pari...@gmail.com
Running the update-java-0.5b script in Ubuntu 12.04 keeps crashing zenity
Below is the error message:
./update-java-0.5b
./update-java-0.5b: line 115: [: /usr/lib/jvm/java-6-sun: unary operator expected
update-alternatives: error: no alternatives for java.
Usage: update-alternatives [<option> ...] <command>
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
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.