JDownloader Community - Appwork GmbH

Thread Tools Display Modes
Old 23.09.2022, 00:31
mav mav is offline
Super Loader
Join Date: Mar 2021
Posts: 29
Default OpenJDK 19 Support for JD2

new version is out. tried to start jd2 with it. see error below

OpenJDK JDK 19 General-Availability Release
**External links are only visible to Support Staff****External links are only visible to Support Staff**

windows server 2019:
set JAVA_HOME=%~dp0jdk-18.0.2
start "" "%~dp0nJDownloader2\JDownloader2.exe"
--> jd2 perfect.

set JAVA_HOME=%~dp0jdk-19
start "" "%~dp0nJDownloader2\JDownloader2.exe"
Error Message:
JVM could not be started, The maximum heap size (-Xmx) might be too large or an antivirus or firewall tool could block the execution.


change script back to:
set JAVA_HOME=%~dp0jdk-18.0.2
start "" "%~dp0nJDownloader2\JDownloader2.exe"
--> jd2 starts without problem

JDownloader2.exe 20.03.2015 17:10
JDownloader2Update.exe 20.03.2015 17:10
core: 46679

java --version
openjdk 19 2022-09-20
OpenJDK Runtime Environment (build 19+36-2238)
OpenJDK 64-Bit Server VM (build 19+36-2238, mixed mode, sharing)

Reply With Quote
Old 25.09.2022, 11:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
Join Date: Mar 2009
Location: Germany
Posts: 77,828

@mav: JDownloader does support/run fine on Java 1.6 up to Java 20. There are no known issues.

The error you encounter does not come from JDownloader but from it's launcher(JDownloader2.exe). The error means that the initialization of java failed, long before any JDownloader being involved.
Please try the following: Remove/clear the .vmoptions file. Due to its content I can tell that your installation seems to be older and most likely
1.) one of those params cause Java fail to start
2.) the launcher is too old for Java19 to be supported due to some internal java changes.

In case a clean .vmoptions file doesn't work, please try a newer launcher from here
Read here how to move your configuration, see https://support.jdownloader.org/Know...-configuration
Would be nice if you can test and provide feedback then.
JD-Dev & Server-Admin
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 01:00.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.