我使用的是 Fedora 39 KDE。我JDownloader2Setup_unix_nojre.sh
从https://jdownloader.org/jdownloader2下载了“ ”文件。
安装程序不起作用。
./JDownloader2Setup_unix_nojre.sh
Starting Installer ...
Could not display the GUI. This application needs access to an X Server.
*******************************************************************
You can also run this application in unattended mode without
access to an X server by passing the argument -q
*******************************************************************
“目录名称不能包含空格。” 错误:
./JDownloader2Setup_unix_nojre.sh -q
Starting Installer ...
The installation directory has been set to /home/user/jd2/JDownloader 2.
The directory name must not contain spaces.
[1/1|Priority: 0]ShutdownController: start item->ShutdownEvent: Save JSonStorages
[1/1|Priority: 0]ShutdownController: item ended after->2
[Done:1/1]
Shutdown Hooks Finished
我能够让无人值守的安装程序工作(但不是 GUI 模式)。
安装最新的Java
安装JDownloader后,出现“java.lang.UnsatisfiedLinkError:无法加载库:/usr/lib/jvm/java-17-openjdk-17.0.9.0.9-3.fc39.x86_64/lib/libawt_xawt.so” “OpenJDK 17 上出现错误,所以我不得不切换到最新的 OpenJDK 22。
安装Java:
https://docs.fedoraproject.org/en-US/quick-docs/installing-java/
以无人值守模式安装
要使用无人值守模式,您需要创建并提供一个“
response.varfile
”文件。[已解决] 无人值守新安装程序模式
https://board.jdownloader.org/showthread.php?t=28335
“
response.varfile
“ 文件:设置“
sys.installationDir
”。例如我安装到“/opt/JDownloader
”。成功: