저는 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
답변1
무인 설치 프로그램이 작동하도록 할 수 있었습니다(GUI 모드는 아님).
최신 자바 설치
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로 전환해야 했습니다.
# Install latest OpenJDK.
sudo dnf install java-latest-openjdk-devel.x86_64 java-latest-openjdk.x86_64
# Switch to latest OpenJDK.
sudo alternatives --config java
# Confirm Java version.
java --version
무인 모드로 설치
무인 모드를 사용하려면 " " 파일을 생성하고 제공해야 합니다 response.varfile
.
[해결됨] 무인 새 설치 프로그램 모드
" response.varfile
" 문서:
sys.fileAssociation.launchers$StringArray="26","26","26","26","26"
sys.languageId=en
customTab$Boolean=false
customBasic$Boolean=true
sys.installationDir=/opt/JDownloader
customSearch$Boolean=false
customHomepage$Boolean=false
executeLauncherAction$Boolean=false
sys.fileAssociation.extensions$StringArray="dlc","jdc","ccf","rsdf","metalink"
installFM=skip
설정" sys.installationDir
". 예를 들어 " "에 설치했습니다 /opt/JDownloader
.
# Create JDownloader installation directory.
sudo mkdir /opt/JDownloader
sudo chmod 777 /opt/JDownloader
./JDownloader2Setup_unix_nojre.sh -q -varfile "response.varfile"
성공:
Starting Installer ...
The installation directory has been set to /opt/JDownloader.
Import proxyList
null
StepID: CREATE_PACKAGE
StepID: DOWNLOAD
StepID: EXTRACTION
StepID: PREPARE_INSTALL
StepID: PREPARE_INSTALL
StepID: INSTALLING
StepID: INSTALLING
StepID: CLIENT_OPTIONS
StepID: CLEANUP
StepID: CREATE_PACKAGE
StepID: DOWNLOAD
StepID: EXTRACTION
StepID: PREPARE_INSTALL
StepID: PREPARE_INSTALL
StepID: INSTALLING
StepID: INSTALLING
StepID: CLIENT_OPTIONS
StepID: CLEANUP
CustomProxyListPath: /opt/JDownloader/cfg/org.jdownloader.settings.InternetConnectionSettings.customproxylist.json
[1/3|Priority: 0]ShutdownController: start item->ShutdownEvent: SaveAllStorageHandler
[1/3|Priority: 0]ShutdownController: item ended after->0
[Done:1/3]
[2/3|Priority: 0]ShutdownController: start item->ShutdownEvent: ProcessDelayedWrites num=0
[2/3|Priority: 0]ShutdownController: item ended after->0
[Done:2/3]
[3/3|Priority: 0]ShutdownController: start item->ShutdownEvent: Save JSonStorages
[3/3|Priority: 0]ShutdownController: item ended after->1
[Done:3/3]
Shutdown Hooks Finished