Comment 14 for bug 969520

juri (eng-juri) wrote :

To Fix this prob perform this steps
1. install java-7-oracle

sudo apt-get purge openjdk*

sudo rm /var/lib/dpkg/info/oracle-java7-installer*
sudo apt-get purge oracle-java7-installer*
sudo rm /etc/apt/sources.list.d/*java*
sudo apt-get update

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

Update /usr/bin/javaws

sudo cp /usr/bin/javaws /usr/bin/javaws.old

vi /usr/bin/javaws

change 2 parameters like this:
JAVA=/usr/lib/jvm/java-7-oracle/jre/bin/java
CP=/usr/lib/jvm/java-7-oracle/jre/lib/rt.jar

Have fun!!!