I just installed Oracle's Java version 7u7 on my Mac (running OSX Mountain Lion). However, when I run
java -version it still displays the old version (6u29).
How do I fix this? Do I even need to fix this? What version will browsers (Firefox) use in this case? And what version will be used when I run Java applications directly?
I've seen this question but this doesn't work in my situation (probably because this question is about the JRE and the other question about the JDK). In my case the Java Preferences app only displays Java 6 versions (32 bit and 64 bit).
which javapoints to
/usr/bin/javais a symlink to
/System/Library/Frameworks/JavaVM.framework/Versions/only contains the folder
A(awesome version name) - which