Follow

@fengyan@donotban.com 我剛看了下,電腦上不知什麼時候裝了一堆各種版本的openjdk, 包括7,8,11,14,請問
java -version
openjdk version "1.8.0_265"
OpenJDK Runtime Environment (build 1.8.0_265-b01)
OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)
這算是新的麼?

@fengyan@donotban.com
whereis java
java: /usr/bin/java /usr/share/java /usr/lib/jvm/java-8-openjdk/bin/java /usr/share/man/man1/java.1.gz

好像java 默認用的是jdk8, 我是不是可以只保留最新版jdk14, 把其他老版本的都刪掉?

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.