Habe gestern bei Oracle das jdk-11.0.6_linux-x64_bin.rpm heruntergeladen und nach dieser Anleitung als su mittels
rpm -ivh jdk-11.0.6_linux-x64_bin.rpm
warning: jdk-11.0.6_linux-x64_bin.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing...
1:jdk-11.0.6-2000:11.0.6-ga ################################# [100%]
update-alternatives: using /usr/java/jdk-11.0.6/bin/java to provide /usr/bin/java (java) in auto mode
installiert, weil ich mal ein bißchen mit ghidra von der NSA spielen will
Hat auch funktioniert, das Programm startet
Jetzt zu meinen Fragen:
- Was ist der Unterschied zu einer Installation mittels
zypper install jdk-11.0.6_linux-x64_bin.rpm
?
- Das in der Anleitung beschriebene bash script hab ich nicht ausgeführt.
Ist das notwendig und was macht es?
Muß ich dazu alle “jdk1.8.0_05” Einträge durch “jdk-11.0.6” ersetzen? Also so:
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/appletviewer.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/apt.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/extcheck.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/jar.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/jarsigner.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/javac.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/javadoc.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/javah.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/javap.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/jcmd.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/jconsole.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/jdb.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/jhat.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/jinfo.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/jmap.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/jps.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/jrunscript.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/jsadebugd.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/jstack.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/jstat.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/jstatd.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/native2ascii.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/pack200.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/rmic.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/schemagen.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/serialver.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/unpack200.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/wsgen.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/wsimport.1)
sudo gzip $(readlink -f /usr/java/jdk-11.0.6/man/man1/xjc.1)
sudo /usr/sbin/update-alternatives --install /usr/bin/javac javac /usr/java/jdk-11.0.6/bin/javac 3 --slave /usr/bin/appletviewer appletviewer /usr/java/jdk-11.0.6/bin/appletviewer --slave /usr/share/man/man1/appletviewer.1.gz appletviewer.1.gz /usr/java/jabout:pluginsdk1.8.0_05/man/man1/appletviewer.1.gz --slave /usr/bin/extcheck extcheck /usr/java/jdk-11.0.6/bin/extcheck --slave /usr/share/man/man1/extcheck.1.gz extcheck.1.gz /usr/java/jdk-11.0.6/man/man1/extcheck.1.gz --slave /usr/bin/jar jar /usr/java/jdk-11.0.6/bin/jar --slave /usr/share/man/man1/jar.1.gz jar.1.gz /usr/java/jdk-11.0.6/man/man1/jar.1.gz --slave /usr/bin/jarsigner jarsigner /usr/java/jdk-11.0.6/bin/jarsigner --slave /usr/share/man/man1/jarsigner.1.gz jarsigner.1.gz /usr/java/jdk-11.0.6/man/man1/jarsigner.1.gz --slave /usr/lib64/jvm/java java_sdk /usr/java/jdk-11.0.6 --slave /usr/share/man/man1/javac.1.gz javac.1.gz /usr/java/jdk-11.0.6/man/man1/javac.1.gz --slave /usr/bin/javadoc javadoc /usr/java/jdk-11.0.6/bin/javadoc --slave /usr/share/man/man1/javadoc.1.gz javadoc.1.gz /usr/java/jdk-11.0.6/man/man1/javadoc.1.gz --slave /usr/bin/javah javah /usr/java/jdk-11.0.6/bin/javah --slave /usr/share/man/man1/javah.1.gz javah.1.gz /usr/java/jdk-11.0.6/man/man1/javah.1.gz --slave /usr/bin/javap javap /usr/java/jdk-11.0.6/bin/javap --slave /usr/share/man/man1/javap.1.gz javap.1.gz /usr/java/jdk-11.0.6/man/man1/javap.1.gz --slave /usr/share/man/man1/jcmd.1.gz jcmd.1.gz /usr/java/jdk-11.0.6/man/man1/jcmd.1.gz --slave /usr/bin/jconsole jconsole /usr/java/jdk-11.0.6/bin/jconsole --slave /usr/share/man/man1/jconsole.1.gz jconsole.1.gz /usr/java/jdk-11.0.6/man/man1/jconsole.1.gz --slave /usr/bin/jdb jdb /usr/java/jdk-11.0.6/bin/jdb --slave /usr/share/man/man1/jdb.1.gz jdb.1.gz /usr/java/jdk-11.0.6/man/man1/jdb.1.gz --slave /usr/bin/jhat jhat /usr/java/jdk-11.0.6/bin/jhat --slave /usr/share/man/man1/jhat.1.gz jhat.1.gz /usr/java/jdk-11.0.6/man/man1/jhat.1.gz --slave /usr/bin/jinfo jinfo /usr/java/jdk-11.0.6/bin/jinfo --slave /usr/share/man/man1/jinfo.1.gz jinfo.1.gz /usr/java/jdk-11.0.6/man/man1/jinfo.1.gz --slave /usr/bin/jmap jmap /usr/java/jdk-11.0.6/bin/jmap --slave /usr/share/man/man1/jmap.1.gz jmap.1.gz /usr/java/jdk-11.0.6/man/man1/jmap.1.gz --slave /usr/bin/jps jps /usr/java/jdk-11.0.6/bin/jps --slave /usr/share/man/man1/jps.1.gz jps.1.gz /usr/java/jdk-11.0.6/man/man1/jps.1.gz --slave /usr/bin/jrunscript jrunscript /usr/java/jdk-11.0.6/bin/jrunscript --slave /usr/share/man/man1/jrunscript.1.gz jrunscript.1.gz /usr/java/jdk-11.0.6/man/man1/jrunscript.1.gz --slave /usr/bin/jsadebugd jsadebugd /usr/java/jdk-11.0.6/bin/jsadebugd --slave /usr/share/man/man1/jsadebugd.1.gz jsadebugd.1.gz /usr/java/jdk-11.0.6/man/man1/jsadebugd.1.gz --slave /usr/bin/jstack jstack /usr/java/jdk-11.0.6/bin/jstack --slave /usr/share/man/man1/jstack.1.gz jstack.1.gz /usr/java/jdk-11.0.6/man/man1/jstack.1.gz --slave /usr/bin/jstat jstat /usr/java/jdk-11.0.6/bin/jstat --slave /usr/share/man/man1/jstat.1.gz jstat.1.gz /usr/java/jdk-11.0.6/man/man1/jstat.1.gz --slave /usr/bin/jstatd jstatd /usr/java/jdk-11.0.6/bin/jstatd --slave /usr/share/man/man1/jstatd.1.gz jstatd.1.gz /usr/java/jdk-11.0.6/man/man1/jstatd.1.gz --slave /usr/bin/native2ascii native2ascii /usr/java/jdk-11.0.6/bin/native2ascii --slave /usr/share/man/man1/native2ascii.1.gz native2ascii.1.gz /usr/java/jdk-11.0.6/man/man1/native2ascii.1.gz --slave /usr/bin/pack200 pack200 /usr/java/jdk-11.0.6/bin/pack200 --slave /usr/share/man/man1/pack200.1.gz pack200.1.gz /usr/java/jdk-11.0.6/man/man1/pack200.1.gz --slave /usr/bin/rmic rmic /usr/java/jdk-11.0.6/bin/rmic --slave /usr/share/man/man1/rmic.1.gz rmic.1.gz /usr/java/jdk-11.0.6/man/man1/rmic.1.gz --slave /usr/bin/schemagen schemagen /usr/java/jdk-11.0.6/bin/schemagen --slave /usr/share/man/man1/schemagen.1.gz schemagen.1.gz /usr/java/jdk-11.0.6/man/man1/schemagen.1.gz --slave /usr/bin/serialver serialver /usr/java/jdk-11.0.6/bin/serialver --slave /usr/share/man/man1/serialver.1.gz serialver.1.gz /usr/java/jdk-11.0.6/man/man1/serialver.1.gz --slave /usr/bin/unpack200 unpack200 /usr/java/jdk-11.0.6/bin/unpack200 --slave /usr/share/man/man1/unpack200.1.gz unpack200.1.gz /usr/java/jdk-11.0.6/man/man1/unpack200.1.gz --slave /usr/bin/wsgen wsgen /usr/java/jdk-11.0.6/bin/wsgen --slave /usr/share/man/man1/wsgen.1.gz wsgen.1.gz /usr/java/jdk-11.0.6/man/man1/wsgen.1.gz --slave /usr/bin/wsimport wsimport /usr/java/jdk-11.0.6/bin/wsimport --slave /usr/share/man/man1/wsimport.1.gz wsimport.1.gz /usr/java/jdk-11.0.6/man/man1/wsimport.1.gz --slave /usr/bin/xjc xjc /usr/java/jdk-11.0.6/bin/xjc --slave /usr/share/man/man1/xjc.1.gz xjc.1.gz /usr/java/jdk-11.0.6/man/man1/xjc.1.gz
Der Pfad
/usr/java/jdk1.8.0_05/man/
bzw.
/usr/java/jdk-11.0.6/man/
existiert bei mir nicht.