I've been using jdk6 on ubuntu 12.04. I was trying to update my jdk to 7. I installed jdk7 and also removed jdk6. Now my javac version is 1.7.0_03. but my java version is still 1.6.0_24. So I got UnsupportedClassVersionError while trying ro run my java project. How can I update my java?!
Asked
Active
Viewed 4,507 times
1
-
Possible duplicate http://askubuntu.com/questions/136202/java-jre-will-not-install-in-ubuntu-12-04 if you don't need version 6, you can purge it before installing version 7 – amc Jul 04 '12 at 22:45