Setting up Java with Mozilla the Right way on OpenSuse

Install Java from Oracle Setup the plugin with this command sudo /usr/sbin/update-alternatives –install /usr/lib64/browser-plugins/javaplugin.so javaplugin /usr/java/default/lib/amd64/libnpjp2.so 3 –slave /usr/bin/javaws javaws /usr/java/default/bin/javaws