Your system java is still set to OpenJdk, you need to make Sun Java 6 the default.
Do the following:
Then make sure that the first line in /etc/jvm shows sun java 6 first like this:
sudo update-java-alternatives -s java-6-sun
sudo gedit /etc/jvm
# This file defines the default system JVM search order. Each
# JVM should list their JAVA_HOME compatible directory in this file.
# The default system JVM is the first one available from top to
Also you should be installing these packages:
sudo apt-get install sun-java6-jre sun-java6-plugin