![]() ![]() Sudo apt-get install -no-install-recommends oracle-java9-installer If you don't want to make Oracle Java 9 default (it might still be set as default, depending on what other Java versions you may have installed), install the oracle-java9-installer with "-no-install-recommends": ![]() Sudo apt-get install oracle-java9-set-default So, if you want to set Oracle Java 9 as default, no matter what other Java versions are installed, make sure that you install the oracle-java9-set-default package (which, again, should be automatically installed with the main Oracle Java Installer package in Ubuntu, but not in Linux Mint): In Linux Mint on the other hand, recommended packages are not installed by default, so you must install this package manually if you want to set Oracle Java 9 as default. In Ubuntu, recommended packages are automatically installed, so "oracle-java9-set-default" should be installed when installing "oracle-java9-installer". To make Java 9 default, you must install the "oracle-java9-set-default" package (which configures the Java environment variables and sets it as default), which I added as a "Recommended" package to "oracle-java9-installer". The oracle-java9-installer package now sets the Java priority to 1091, and that may or may not set it as default, depending on other Java packages you may have installed (for instance, if Java 8 is also installed, Java 9 becomes default, but if Java 10 is installed, that will become default). Previously, this package would increment the Java priority to make it default. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |