Description
The jre.properties file is set up such that any JRE later than 9 inherits the package exports form JRE 9. However, some packages went away in later versions. For example, the javax.annotation package is no longer provided by Java 11+.
A fix for the issue would be to copy the package exports from JRE 9 to JRE 11 and remove the line related to javax.annotation.
There may be other packages also no longer provided by higher Java versions that require similar actions - I did not check.