JDK Installation
Less than 1 minute
Overview
This page is the English counterpart of the Chinese JDK Installation guide. It summarizes runtime dependency installation and deployment preparation while keeping the document path aligned with the Chinese documentation structure.
How To Use This Page
- Follow the same operation order as the Chinese source page.
- Keep configuration values, topic names, ports, commands, and file paths consistent with your deployment environment.
- Screenshots and diagrams reuse the Chinese documentation image directory so assets are maintained in one place.
- For production changes, validate the operation in a test environment before applying it online.
Reference Commands And Configuration
The following snippets are preserved from the source guide because commands, configuration keys, and protocol examples should remain exact.
docker run \
--name java \
--publish 8080:8080 \
--volume /var/data/java/fastbee-admin.jar:/server.jar \
--volume /var/data/java/uploadPath:/uploadPath \
--volume /var/data/java/logs:/logs \
--volume /etc/localtime:/etc/localtime \
--env "TZ=Asia/Shanghai" \
--network fastbee-bridge \
--restart unless-stopped \
--detach \
openjdk:8-jre \
java -jar /server.jar--name # 容器名称
--publish # 容器端口映射
--volume # 挂载卷路径,容器文件持久化到服务器
--env # 设置容器环境变量
--network # 网络模式 container/none/bridge/host几种
--restart # 重启方式 no/on-failure/always/unless-stopped几种
--detach # 后台运行