change the edition of java on ubuntu.

Posted ordi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了change the edition of java on ubuntu.相关的知识,希望对你有一定的参考价值。

$ sudo update-alternatives --config java
 
 Selection    Path                                            Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-8-oracle/jre/bin/java          1071      auto mode
  1            /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java   1061      manual mode
  2            /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java   1051      manual mode
* 3            /usr/lib/jvm/java-8-oracle/jre/bin/java          1065      manual mode

Press enter to keep the current choice[*], or type selection number:

 

 
 

以上是关于change the edition of java on ubuntu.的主要内容,如果未能解决你的问题,请参考以下文章

Editing the attributes of annotation编辑注记属性

Change the color of a link in an NSMutableAttributedString

The content of the adapter has changed but ListView did not receive a notification

JVM Specification 9th Edition Chapter 2. The Structure of the Java Virtual Machine

Provided id of the wrong type for class pojo.Books. Expected: class java.lang.Integer, got class jav

The value of 'list_editable[0]' refers to the first field in 'list_display' ('ti