not that difficult: first download packages from java website (check for x32 or x64) then unpack (as root) to /usr/lib64/ then run this in root konsole (terminal) /usr/sbin/update-alternatives --install "/usr/bin/java" "java" "/usr/lib64/jre1.8.0_66/bin/java" 1805 /usr/sbin/update-alternatives --install "/usr/bin/java" "java" "/usr/lib64/jdk1.8.0_66/bin/java" 1805 /usr/sbin/update-alternatives --install "/usr/lib/browser-plugins/javaplugin.so" "javaplugin" "/usr/lib64/jre1.8.0_66/lib/amd64/libnpjp2.so" 18020 #set java version to use system wide /usr/sbin/update-alternatives --config java /usr/sbin/update-alternatives --config javaplugin ## FOR FIREFOX (check your path before running)## ## update symlink to plugin in appropriate user dir: cd /home/usersname/.mozilla/firefox/Profiles/mfxd2d7n.firefox/plugins cd /home/usersname/.config/google-chrome-beta/plugins rm libnpjp2.so ln -s /usr/lib64/jre1.8.0_66/lib/amd64/libnpjp2.so libnpjp2.so chown -v -R usersname:users /home/usersname/.mozilla chmod -v -R 0774 /home/usersname/.mozilla when done, reboot computer. André Op 03-01-16 om 21:27 schreef Daniele:
Il 03/01/2016 20:39, Darin Perusich ha scritto:
Attached are rpm build specs for Sun/Oracle Java 1.7 and 1.8 which I was using to created packages on an private OBS instance. They are nothing more than a "continuation" of the 1.6.0 specs from past openSUSE releases that have been adopted for the newer releases after Oracle changed the licensing, FWIW the 1.6 specs can still be gotten from the build service. -- Later, Darin
Great ! Tested 1.8 spec and now:
java-1_8_0-sun-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-devel-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-alsa-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-jdbc-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-src-1.8.0.u66-1.x86_64.rpm
but:
zypper in --oldpackage *.rpm [1] Loading repository data... Reading installed packages... Resolving package dependencies...
Problem: nothing provides libavcodec.so.53()(64bit) needed by java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64 Solution 1: do not install java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64 Solution 2: break java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c):
I've libavcodec56 installed.
[1] --oldpackage because I've already installed sun jre from obs, zypper rants..
This on os 13.2. I'll try on Leap..
Any ideas ?
Thanks,
Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org