Linux (Java)

更新时间:
复制 MD 格式

This topic describes how to integrate the Java SDK on Linux.

Prerequisites

The server can be physical or virtual.

  • Ubuntu 18.04 or later. The minimum GLIBC version is 2.25. The environment also requires system libraries such as X11 and OpenGL.

    sudo apt-get install libatomic1 libx11-6 libxcomposite1 libxdamage1 libgl1
  • CentOS 8 or later. The minimum GLIBC version is 2.25. The environment also requires system libraries such as X11 and OpenGL.

    sudo yum install libXcomposite libXdamage libXfixes mesa-libGL

Integrate the SDK

  1. Download and decompress the Java SDK for Linux. The package is named dingrtc_linux_java_sdk_x.x.x.zip. For the download link, see SDK download.

  2. To add the SDK to your project, unzip the downloaded zip file:

    • Add ding_rtc_linux_java.jar to the class path of your project.

    • Add the library files from the lib/x86_64 folder to your project.

What to do next

After you integrate the SDK, you can implement basic Real-Time Communication features. For more information, see Implement basic features for Linux (Java).