Instale o Java mais recente

Instale o Java mais recente

Estou no Fedora 39 KDE. Eu baixei o JDownloader2Setup_unix_nojre.sharquivo " " dehttps://jdownloader.org/jdownloader2.

O instalador não funciona.

./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
*******************************************************************

"O nome do diretório não deve conter espaços." erro:

./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

Responder1

Consegui fazer o instalador autônomo funcionar (mas não o modo GUI).

Instale o Java mais recente

Depois de instalar o JDownloader, ele obteve um "java.lang.UnsatisfiedLinkError: Não é possível carregar a biblioteca: /usr/lib/jvm/java-17-openjdk-17.0.9.0.9-3.fc39.x86_64/lib/libawt_xawt.so "erro no OpenJDK 17, então tive que mudar para o OpenJDK 22 mais recente.

# 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

Instalar em modo autônomo

Para usar o modo autônomo, você precisa criar e fornecer um response.varfilearquivo " ".

" response.varfile" arquivo:

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

Colocou o " sys.installationDir". Por exemplo, instalei em " /opt/JDownloader".

# Create JDownloader installation directory.
sudo mkdir /opt/JDownloader
sudo chmod 777 /opt/JDownloader

./JDownloader2Setup_unix_nojre.sh -q -varfile "response.varfile"

Sucesso:

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

informação relacionada