I am not very familiar with Linux. I have used it after finding many operations and soon forgot about it. So, write it down to save some time. 1. How can I get the root permission? 2. Ubuntu is usually built with openjdk. If you don't want to use this, but want to use the official version, how can you convert it? First, go to the official website to download the required package, install it, and configure it. Then, follow the steps below to add the installed jdk to the java menu here, we just added it, but it has not been set as the default one. perform the following operations and
I am not very familiar with Linux. I have used many operations and soon forgot them. So, write them down for future use.
1. How to obtain the root permission?
2. Ubuntu generally has an open jdk built-in. If you don't want to use this, but want to use the official one, how can you convert it?
First, go to the official website to download the required package, install it, and configure it. Then, follow the steps below to add the installed jdk to the java menu.
At this point, we just added it, but it has not been set as the default. perform the following operations, select the default one you want to set, and enter the serial number.
Then the settings are completed. Check whether your version number is the one you choose.
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2