问题
"I am getting the following exception when running my JavaFX 8 application under Corretto.
java.lang.UnsatisfiedLinkError: Can't load library: C:\Amazon Corretto\jdk1.8.0_192\jre\bin\glib-lite.dll
My application works fine under Oracle JDK 1.8.
I confirmed the missing dll does not exist anywhere in the Corretto folder. The following which I found to be in OpenJFX and also present in Azul's ZuluFX are not in the Corretto runtime:
gstreamer-lite.dll
glib-lite.dll
fxplugins.dll
jfxmedia.dll
jfxwebkit.dll
prism_es2.dll
ucrtbase.dll
Will this be addressed in an update? Or perhaps Corretto is intentionally choosing to not fully support some JavaFX media capabilites?"
回答1:
As of today, Corretto doesn't include JavaFX media. It has been requested in https://github.com/corretto/corretto-8/issues/26 and the team is working on the best way to include it in the future.
来源:https://stackoverflow.com/questions/53876524/is-javafx-media-supported-by-corretto