本帖最后由 Bettina 于 2023-7-7 14:30 编辑
银河麒麟V10卸载Openjdk
1.查看系统的java版本:
- #java -version
- openjdk version "1.8.0_242"
- OpenJDK Runtime Environment (build 1.8.0_242-b08)
- OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
复制代码2.查看系统的JDK安装包: - #rpm -qa|grep jdk
- java-1.8.0-openjdk-1.8.0.242.b08-1.h5.ky10.aarch64
- java-1.8.0-openjdk-headless-1.8.0.242.b08-1.h5.ky10.aarch64
- copy-jdk-configs-3.7-3.ky10.noarch
- java-11-openjdk-11.0.6.10-4.ky10.ky10.aarch64
- java-11-openjdk-headless-11.0.6.10-4.ky10.ky10.aarch64
复制代码3.卸载JDK安装包: - rpm -e --nodeps java-1.8.0-openjdk
- rpm -e --nodeps java-1.8.0-openjdk-headless
- rpm -e --nodeps java-11-openjdk
- rpm -e --nodeps java-11-openjdk-headless
- rpm -e --nodeps copy-jdk-configs
复制代码4.查看java安装包: - # rpm -qa|grep java
- javapackages-filesystem-5.3.0-2.ky10.noarch
- javapackages-tools-5.3.0-2.ky10.noarch
- tzdata-java-2019c-1.p01.ky10.noarch
复制代码5.卸载java安装包: - rpm -e --nodeps javapackages-filesystem
- rpm -e --nodeps javapackages-tools
- rpm -e --nodeps tzdata-java
复制代码
|
|
|
|
|
版权说明:论坛帖子主题均由合作第三方提供并上传,若内容存在侵权,请进行举报