Skip to content

[BUG] 安装要求的jdk版本和启动脚本中的不一致 #1776

@juwujiu

Description

@juwujiu

版本号 - Version

v9.3.11

操作系统平台和系统架构 - OS and CPU Arch

amd64

部署方式 - Deploy methods

  • Windows .exe 安装程序 (Windows .exe Installer)
  • Windows .zip 绿色部署包 (Windows .zip Portable)
  • Docker
  • JAR 包直接启动 (Start via .JAR directly)
  • 群晖 DSM 套件 (Synology .spk package)
  • Debian 软件包 (Debian .deb package)
  • RedHat/Fedora 软件包 (RedHat/Fedora .rpm package)
  • FreeBSD 软件包(FreeBSD .pkg package)

添加的下载器 - Added Downloaders

  • qBittorrent
  • BiglyBT/Azureus/Vuze
  • Deluge
  • Transmission
  • BitComet

下载器版本号 - Downloader Version

v5.1.4

问题描述 - Issue Description

  • 使用包管理器安装.pkg,提示需要openjdk25
[root@nas ~]# pkg add -f /tmp/peerbanhelper-v9.3.11-FreeBSD-14.1-RELEASE.pkg 
Installing peerbanhelper-v9.3.11...
package peerbanhelper is already installed, forced install
pkg: Missing dependency 'openjdk25'

Failed to install the following 1 package(s): /tmp/peerbanhelper-v9.3.11-FreeBSD-14.1-RELEASE.pkg
  • rc脚本中又要求openjdk21
export JAVA_VERSION=${JAVA_VERSION:-21}

复现步骤 - Reproduce steps

  • 准备一个干净的环境
  • 按文档安装openjdk25
  • 按文档安装peerbanhelper
  • 执行service peerbanhelper restart
  • 执行service peerbanhelper status
  • 出现bugpeerbanhelper is not running.

截图/日志文件 - Screenshot / Logs

No response

额外信息 - Addition Information

No response

检查清单 - Check list

  • PeerBanHelper 已更新到最新版本,非最新版本不接受任何错误反馈,任何非最新版本的 Issue 将被 立 刻 关 闭,不会有人给您提供任何支持 (I'm running the latest version of PBH that can be found in Github Relases, non-latest release won't receive any support)
  • 所添加的下载器已满足 README 中的前置要求(如版本号和插件)(The downloaders that I've added already satisfied the requirements (E.g install plugins/adapters))
  • 我已检查过 PBH 文档(特别是常见问题),且即使使用了搜索也没有找到与此有关的内容 (This not a question/or the question that not listed in README's FAQ or PBH WIKI)
  • 我没有检查这个检查清单,只是闭眼选中了所有的复选框,请关闭这个 Issue (I have not read these checkboxes and therefore I just ticked them all, Please close this issue)
  • 这不是一个安全漏洞,它可以被安全的公开报告。若需要报告安全漏洞,请在此报告 (This not a security related issue, can be safe report in public. If you want report a security exploit, please report it here)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug程序错误,有什么东西无法正常工作confirmed该问题已经过确认documentation文档改进priority: low低优先级

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions