Use offical jdk/jre in Debian Wheezy and later version
After Wheezy, sun-jdk and sun-jre won't be available in non-free repository. But there are still lots of applications won't be work without it. Orz Well, we still have a solution to overcome this condition from Debian. Follow below steps and get it! Install java-package. Download the latest jdk/jre binary tar ball for linux. fakeroot make-jpkg ./the_tar_ball_you_downloaded. dpkg -i the_deb_package_you_just_build_it. sudo update-alternatives --auto java. And then you have oracle-jdk/oracle-jre now! :-)