#1
|
|||
|
|||
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: start_jd.bat 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. JDownloader2.vmoptions: -Xms64m -Dsun.java2d.d3d=false 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) Thanks, Mav. |
#2
|
||||
|
||||
@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 or 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 https://jdownloader.org/jdownloader2 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 |
#3
|
|||
|
|||
@Jiaz: thanks for your helpful reply.
For me the solution was actually not a different JDownloader2.exe or JDownloader2.vmoptions but using OpenJDK 19.0.1. The release version of OpenJDK19 (19.0.0) did not work for me - with old and new jdownloader2.exe Anyway using now current jdownloader2.exe with stylish GUI. |
#4
|
||||
|
||||
@mav: Thanks for the feedback. So with 19.0.1 it now works fine?
I, personally, prefer LTS builds from here adoptium. for example in case you want to test/use java 19, see adoptium.net/de/temurin/releases?version=19 See here for a list of jvm providers https://support.jdownloader.org/Know...bedded-devices
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|