product-is
product-is copied to clipboard
endorsed not exist in JDK 12 anymore
Description:
Hi, I am trying to run sh wso2server.sh but I have an error "-Djava.endorsed.dirs=/Library/WSO2/IdentityServer/5.7.0/lib/endorsed:/Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home/jre/lib/endorsed:/Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home/lib/endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit."
Since JDK 12 does not have endorsed.dirs, how can I overcome this problem? Thank you in advance!!! Suggested Labels:
Suggested Assignees:
Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:
Hi @mbgazi ,
WSO2 Identity server 5.7.0 does not support java version more than 8. The latest released WSO2 Identity server 5.9.0 will support JDK11 (which is the latest java LTS version). You can try out with 5.9.0 version. This issue should be fixed. But yet we haven't tested the 5.9.0 with JDK 12.