我要评分
获取效率
正确性
完整性
易理解

Deploying the BiSheng JDK

The BiSheng JDK is available after you deploy it on the server. Based on OpenJDK, the BiSheng JDK is a high-performance OpenJDK release that can be used in production environments. With the accumulation of extensive application scenarios and feedback from Java developers, it addresses various challenges encountered during service running. Additionally, it has been optimized specifically for the Arm architecture.

Environment Requirements

  • Supported compiler version: BiSheng JDK 17.0.13+12
  • Supported OSs:
    • CentOS Linux release 7.6.1810 (AltArch)
    • Ubuntu 20.04 LTS
    • Ubuntu 22.04 LTS
    • openEuler 20.03 LTS
    • openEuler 22.03 LTS
    • UOS 20 SP1
    • Kylin Linux Advanced Server V10 (Tercel)

Procedure

  1. In the upper right corner of the page, choose > Tool Configuration > Compiler and Debugger.

    In the Figure 1 window that is displayed, choose a remote server, choose BiSheng JDK from the Compiler Type drop-down list, and click Check Connection.

    Figure 1 Deploying the BiSheng JDK
    Table 1 Parameters

    Parameter

    Description

    Configured Remote Server

    Choose the server where the BiSheng JDK needs to be deployed.

    Linux Password

    Password of the Linux user.

    Remember password

    If this option is selected, the Linux user password of the current remote server will be remembered.

    Compiler Type

    Select the compiler to be deployed. The options are:

    • GCC for openEuler
    • BiSheng Compiler
    • BiSheng JDK

    During compiler deployment, the compiler dictionary is read based on the network status. Ensure that the VS Code network proxy is correctly configured and the network can be connected before the deployment.

    • If the network connection is successful, the compiler version dictionary is downloaded from Gitee and written to the server.
    • If the network connection fails, the dictionary in the tool is read and written to the server.
  2. After the connection is successful, click Start Deployment. In the dialog box that is displayed, click OK.
    Figure 2 Information dialog box

    Switch to the terminal to perform the deployment operation. After the deployment is complete, a message is displayed stating "Compiler deployed successfully."

    Figure 3 Compiler deployed successfully

    If the deployment fails, view the error information on the terminal or rectify the fault by following instructions in Compiler Deployment Failure.