Difference between revisions of "Update-alternatives --config java"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
sudo [[update-alternatives]] --config java | sudo [[update-alternatives]] --config java | ||
+ | update-alternatives --config java | ||
+ | |||
+ | There are 2 programs which provide 'java'. | ||
+ | |||
+ | Selection Command | ||
+ | ----------------------------------------------- | ||
+ | *+ 1 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.382.b05-1.el7_9.x86_64/jre/bin/java) | ||
+ | 2 java-11-openjdk.x86_64 (/usr/lib/jvm/java-11-openjdk-11.0.20.0.8-1.el7_9.x86_64/bin/java) | ||
+ | |||
+ | Enter to keep the current selection[+], or type selection number: | ||
Line 7: | Line 17: | ||
[[/bin/java]] | [[/bin/java]] | ||
+ | == See also == | ||
+ | * {{java}} | ||
− | + | [[Category:Java]] |
Revision as of 18:40, 17 August 2023
sudo update-alternatives --config java update-alternatives --config java There are 2 programs which provide 'java'. Selection Command ----------------------------------------------- *+ 1 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.382.b05-1.el7_9.x86_64/jre/bin/java) 2 java-11-openjdk.x86_64 (/usr/lib/jvm/java-11-openjdk-11.0.20.0.8-1.el7_9.x86_64/bin/java) Enter to keep the current selection[+], or type selection number:
/bin/java
See also
- Java, JVM, JDK, JRE, OpenJDK, Tomcat, Java Management Extensions (JMX), Apache Maven, Gradle, Micronaut, RMI, JNDI, Log4j, Spring framework, Java version history,
.jar
,.war
,.ear
, Java annotations, Java code coverage tools, JMS, Java 8, Java 10, Java 11, Java 20,/bin/java, Invalid Java version, java.util
Advertising: