Open pennello opened 3 years ago
@pennello Having the same issue, and can confirm your workaround works.
I'm having the same issues. Could someone provide the full commands for these workarounds and also the correct folder to run the commands in?
@halpert3
From the cmak -h
:
# jvm options and output control
JAVA_OPTS environment variable, if unset uses ""
-Dkey=val pass -Dkey=val directly to the java runtime
-J-X pass option -X directly to the java runtime
(-J is stripped)
The full command will be:
cmak -J--add-opens=java.base/sun.net.www.protocol.file=ALL-UNNAMED -J--add-exports=java.base/sun.net.www.protocol.file=ALL-UNNAMED
@halpert3 From the
cmak -h
:# jvm options and output control JAVA_OPTS environment variable, if unset uses "" -Dkey=val pass -Dkey=val directly to the java runtime -J-X pass option -X directly to the java runtime (-J is stripped)
The full command will be:
cmak -J--add-opens=java.base/sun.net.www.protocol.file=ALL-UNNAMED -J--add-exports=java.base/sun.net.www.protocol.file=ALL-UNNAMED
yep , this method fix my problem, my java version is 20
jdk 15 ok
cmak -java-home /opt/jdk-15.0.1
It looks like access to some classes that was previously legal has become illegal!
This results in the JS & CSS not loading and the UI looking less than perfect.
Our current workaround is to include Java arguments
when running CMAK. But this is of course not ideal, nor guaranteed to continue working in future Java releases.
Please let me know if I can provide any further information to help debug this.