added 1 to update-alternatives "java"

sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0/bin/java" 1
This line was causing an error because the 1 was missing.