[opensuse] java 8 on tumbleweed
I am trying to install Java 8 from Oracle on Tumbleweed. My wife wants to update the software in her bike (seriously). I get this: # rpm -i jre-8u251-linux-x64.rpm warning: jre-8u251-linux-x64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY Unpacking JAR files... plugin.jar... javaws.jar... deploy.jar... rt.jar... jsse.jar... charsets.jar... localedata.jar... update-alternatives: error: alternative javaws can't be slave of java: it is a slave of libjavaplugin.so.x86_64 warning: %post(jre1.8-1.8.0_251-fcs.x86_64) scriptlet failed, exit status 2 I didn't see any clear instructions for when this happens. I tried uninstalling the existing jre 1.8, but that did not help. I'm also curious why the jre 8 install is making a reference to jre 1.8. Tha is/was the previous one. So maybe that is where the reference comes from. I's so long since I fiddled with Java... Anyone seen this? -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
19.04.2020 22:04, Roger Oberholtzer пишет:
I am trying to install Java 8 from Oracle on Tumbleweed. My wife wants to update the software in her bike (seriously). I get this:
You do not need to install Java to use it. Just use tar, unpack and set JAVA_HOME.
# rpm -i jre-8u251-linux-x64.rpm warning: jre-8u251-linux-x64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY Unpacking JAR files... plugin.jar... javaws.jar... deploy.jar... rt.jar... jsse.jar... charsets.jar... localedata.jar... update-alternatives: error: alternative javaws can't be slave of java: it is a slave of libjavaplugin.so.x86_64 warning: %post(jre1.8-1.8.0_251-fcs.x86_64) scriptlet failed, exit status 2
I didn't see any clear instructions for when this happens. I tried uninstalling the existing jre 1.8, but that did not help.
I'm also curious why the jre 8 install is making a reference to jre 1.8. Tha is/was the previous one. So maybe that is where the reference comes from.
I's so long since I fiddled with Java...
Anyone seen this?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
19.04.2020 22:04, Roger Oberholtzer пишет:
I am trying to install Java 8 from Oracle on Tumbleweed. My wife wants to update the software in her bike (seriously). I get this:
You do not need to install Java to use it. Just use tar, unpack and set JAVA_HOME. There are some more Java environment variables on openSUSE. My java8.sh
Andrei Borzenkov wrote: script (/usr/lib64/jdk8_Oracle should be a symlink to the Java 8 installation directory here): JRE_HOME=/usr/lib64/jdk8_Oracle/jre JAVA_BINDIR=/usr/lib64/jdk8_Oracle/bin JAVA_HOME=/usr/lib64/jdk8_Oracle JDK_HOME=/usr/lib64/jdk8_Oracle JAVA_ROOT=/usr/lib64/jdk8_Oracle PATH=$JAVA_BINDIR:$PATH exec "$@" Regards, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
I set JAVA_HOME and the app started. I'm still confused about the
Oracle RPM install error. Perhaps it's moot.
On Mon, Apr 20, 2020 at 2:36 PM Bjoern Voigt
19.04.2020 22:04, Roger Oberholtzer пишет:
I am trying to install Java 8 from Oracle on Tumbleweed. My wife wants to update the software in her bike (seriously). I get this:
You do not need to install Java to use it. Just use tar, unpack and set JAVA_HOME. There are some more Java environment variables on openSUSE. My java8.sh
Andrei Borzenkov wrote: script (/usr/lib64/jdk8_Oracle should be a symlink to the Java 8 installation directory here):
JRE_HOME=/usr/lib64/jdk8_Oracle/jre JAVA_BINDIR=/usr/lib64/jdk8_Oracle/bin JAVA_HOME=/usr/lib64/jdk8_Oracle JDK_HOME=/usr/lib64/jdk8_Oracle JAVA_ROOT=/usr/lib64/jdk8_Oracle PATH=$JAVA_BINDIR:$PATH
exec "$@"
Regards, Björn
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello,
In the Message;
Subject : [opensuse] java 8 on tumbleweed
Message-ID :
Hello,
In the Message;
Subject : Re: [opensuse] java 8 on tumbleweed
Message-ID : <87wo697otv.wl-nomiya@galaxy.dti.ne.jp>
Date & Time: Tue, 21 Apr 2020 07:51:56 +0900
[MN] == Masaru Nomiya
participants (4)
-
Andrei Borzenkov
-
Bjoern Voigt
-
Masaru Nomiya
-
Roger Oberholtzer