SyntaxFix
Write A Post
Hire A Developer
Questions
I had this problem, after installing jdk7 next to Java 6. The binaries were correctly updated using update-alternatives --config java to jdk7, but the $JAVA_HOME environment variable still pointed to the old directory of Java 6.
update-alternatives --config java
$JAVA_HOME