After install of jdk-7-linux-i586.rpm, in terminal type these commands:
update-alternatives --install /usr/bin/java java /usr/java/jdk1.7.0/jre/bin/java 20000
update-alternatives --install /usr/bin/javaws javaws /usr/java/jdk1.7.0/jre/bin/javaws 20000
update-alternatives --install /usr/bin/javac javac /usr/java/jdk1.7.0/bin/javac 20000
update-alternatives --install /usr/bin/jar jar /usr/java/jdk1.7.0/bin/jar 20000
update-alternatives --config java
OpenSuse 64
cd /usr/lib64/browser-plugins
ln -s /usr/java/jdk1.7.0/jre/lib/amd64/libnpjp2.so /usr/lib64/browser-plugins/libnpjp2.so
FoxPro 64bit plugin
update-alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.x86_64 /usr/java/jdk1.7.0/jre/lib/amd64/libnpjp2.so 20000
FoxPro 32bit plugin
update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/jdk1.7.0/jre/lib/i386/libnpjp2.so 20000