How To Install java-1.8.0-openjdk-devel-debug.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install java-1.8.0-openjdk-devel-debug.x86_64
on Amazon Linux 2.
What is java-1.8.0-openjdk-devel-debug.x86_64
The OpenJDK 8 development tools. This package is unoptimised with full debugging. Install only as needed and remove ASAP.
We can use yum
to install java-1.8.0-openjdk-devel-debug.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install java-1.8.0-openjdk-devel-debug.x86_64.
Install java-1.8.0-openjdk-devel-debug.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install java-1.8.0-openjdk-devel-debug.x86_64
using yum
by running the following command:
sudo yum -y install java-1.8.0-openjdk-devel-debug.x86_64
How To Uninstall java-1.8.0-openjdk-devel-debug.x86_64 on Amazon Linux 2
To uninstall only the java-1.8.0-openjdk-devel-debug.x86_64
package we can use the following command:
sudo yum remove java-1.8.0-openjdk-devel-debug.x86_64
java-1.8.0-openjdk-devel-debug.x86_64 Package Contents on Amazon Linux 2
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jaas-1.8.0.312.b07.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jaas-1.8.0.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jaas.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jce-1.8.0.312.b07.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jce-1.8.0.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jce.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jdbc-stdext-1.8.0.312.b07.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jdbc-stdext-1.8.0.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jdbc-stdext-3.0.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jdbc-stdext.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jndi-1.8.0.312.b07.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jndi-1.8.0.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jndi-cos-1.8.0.312.b07.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jndi-cos-1.8.0.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jndi-cos.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jndi-ldap-1.8.0.312.b07.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jndi-ldap-1.8.0.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jndi-ldap.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jndi-rmi-1.8.0.312.b07.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jndi-rmi-1.8.0.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jndi-rmi.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jndi.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jsse-1.8.0.312.b07.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jsse-1.8.0.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/jsse.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/sasl-1.8.0.312.b07.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/sasl-1.8.0.jar
/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/sasl.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/ASSEMBLY_EXCEPTION
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/LICENSE
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/THIRD_PARTY_README
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/alt-java
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/appletviewer
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/clhsdb
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/extcheck
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/hsdb
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/idlj
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jarsigner
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/java
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/java-rmi.cgi
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/javac
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/javadoc
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/javah
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/javap
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jcmd
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jconsole
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jdb
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jdeps
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jfr
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jhat
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jinfo
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jjs
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jmap
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jps
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jrunscript
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jsadebugd
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jstack
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jstat
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/jstatd
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/keytool
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/native2ascii
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/orbd
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/pack200
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/policytool
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/rmic
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/rmid
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/rmiregistry
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/schemagen
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/serialver
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/servertool
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/tnameserv
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/unpack200
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/wsgen
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/wsimport
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/bin/xjc
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/include
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/include/classfile_constants.h
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/include/jawt.h
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/include/jdwpTransport.h
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/include/jni.h
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/include/jvmti.h
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/include/jvmticmlr.h
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/include/linux
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/include/linux/jawt_md.h
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/include/linux/jni_md.h
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/lib
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/lib/amd64
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/lib/amd64/jli
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/lib/amd64/jli/libjli.so
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/lib/amd64/libjawt.so
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/lib/ct.sym
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/lib/dt.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/lib/ir.idl
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/lib/jconsole.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/lib/jexec
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/lib/orb.idl
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/lib/sa-jdi.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/lib/tools.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/tapset
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/tapset/hotspot-1.8.0.312.b07-1.amzn2.0.2.x86_64.stp
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/tapset/hotspot_gc-1.8.0.312.b07-1.amzn2.0.2.x86_64.stp
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/tapset/hotspot_jni-1.8.0.312.b07-1.amzn2.0.2.x86_64.stp
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug/tapset/jstack-1.8.0.312.b07-1.amzn2.0.2.x86_64.stp
/usr/share/applications/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug-jconsole-debug.desktop
/usr/share/man/man1/appletviewer-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/extcheck-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/idlj-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jar-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jarsigner-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/javac-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/javadoc-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/javah-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/javap-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jcmd-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jconsole-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jdb-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jdeps-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jhat-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jinfo-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jmap-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jps-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jrunscript-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jsadebugd-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jstack-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jstat-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/jstatd-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/native2ascii-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/rmic-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/schemagen-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/serialver-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/wsgen-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/wsimport-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/man/man1/xjc-java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.1.gz
/usr/share/systemtap
/usr/share/systemtap/tapset/x86_64
/usr/share/systemtap/tapset/x86_64/hotspot-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.stp
/usr/share/systemtap/tapset/x86_64/hotspot_gc-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.stp
/usr/share/systemtap/tapset/x86_64/hotspot_jni-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.stp
/usr/share/systemtap/tapset/x86_64/jstack-1.8.0.312.b07-1.amzn2.0.2.x86_64-debug.stp
References
Summary
In this tutorial we learn how to install java-1.8.0-openjdk-devel-debug.x86_64
on Amazon Linux 2 using yum.