Hier de oplossing die ik vond op het engelse forum!!
" I see you are using 64 bit. Are you trying to get java working in your web browser or for Frostwire? You ought to be asking in the 64 bit part of the forum. Since java is a 32 bit application only, you may run into a few problems with it, but nothing that can't be solved. I use 32 bit swiftweasle for websites with java. In your case, you need to do these commands".
sudo apt-get install ia32-sun-java6-bin ia32-libs
sudo update-alternatives --config java
Then choose the ia32 version of Java 6.