Next, return to your server and add the third-party repository that will help you install Oracle’s Java when the file upload has completed. The following command assumes you’ve saved the Oracle JDK file to your local machine’s Downloads folder: scp Downloads/jdk- 11.0.7_linux-圆4_ your_server_ip:~ On macOS, Linux, or Windows using the Windows Subsystem for Linux, use the scp command to transfer the file to the home directory of your noodi user. On your local machine, upload the file to your server. You’ll need to transfer it to your server when the file has downloaded. You may need to log in to your Oracle account one more time before the download starts. Select the checkbox to accept the license agreement and press the Download button. Then, you will face a screen asking you to accept the Oracle license agreement. But you don’t need to download anything from this page, only download the installation script through apt shortly.Īfter that, you must visit the Downloads page and locate the version that matches the one you need.īy clicking the JDK Download button you will be taken to a screen that shows the versions available. Since the version of the script is 11.0.7, you need Oracle JDK 11.0.7. Locate the package for Focal, as shown in the following figure: To find out which version you need, visit the oracle-java11-installer page. Note: The version of Oracle’s JDK you’ll need to download must match the version of the installer script. You must create an Oracle account and manually download the JDK to add a new package repository for the version you’d like to use to install the Oracle JDK, which is the official version distributed by Oracle. Since the Oracle’s licensing agreement for Java doesn’t allow automatic installation through package managers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |