Difference between revisions of "Update-alternatives --config java"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 14: Line 14:
  
  
 
+
== Related ==
* [[/bin/java]]
+
* <code>[[/bin/java]]</code>
* [[Jenkins]]
+
* <code>[[Invalid Java version]]</code>
 +
* [[Java version history]]
  
 
== See also ==
 
== See also ==
 +
* {{update-alternatives}}
 
* {{java}}
 
* {{java}}
  
 
[[Category:Java]]
 
[[Category:Java]]

Latest revision as of 07:51, 8 September 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:


Related[edit]

See also[edit]

Advertising: