A DESCRIPTION OF THE PROBLEM :
I got this error for an JavaFx application installed with OpenJdk11.0.2 and OpenFx-12-ea+14, executable created with Exe4j and Install4j.
I think the error happens if the same application runs already on the computer and I open it again.
On the top I got this error: UnsatisfiedLinkError: no glass in java.library.path. The error is below.
If possible, please provide a resolution for https://bugs.openjdk.java.net/browse/JDK-8089514 which is planned since long time - this is important for users.
Loading library glass from resource failed: java.nio.file.AccessDeniedException: C:\Users\prute\.openjfx\cache\12-ea\glass.dll
java.nio.file.AccessDeniedException: C:\Users\prute\.openjfx\cache\12-ea\glass.dll
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:270)
at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105)
at java.base/java.nio.file.Files.delete(Files.java:1141)
at com.sun.glass.utils.NativeLibLoader.cacheLibrary(NativeLibLoader.java:281)
at com.sun.glass.utils.NativeLibLoader.installLibraryFromResource(NativeLibLoader.java:203)
at com.sun.glass.utils.NativeLibLoader.loadLibraryFromResource(NativeLibLoader.java:185)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:157)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:52)
at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:110)
at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:118)
at com.sun.glass.ui.win.WinApplication.access$000(WinApplication.java:39)
at com.sun.glass.ui.win.WinApplication$1.run(WinApplication.java:101)
at com.sun.glass.ui.win.WinApplication$1.run(WinApplication.java:82)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at com.sun.glass.ui.win.WinApplication.<clinit>(WinApplication.java:82)
at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatformFactory.java:39)
REGRESSION : Last worked in version 12
FREQUENCY : always
I got this error for an JavaFx application installed with OpenJdk11.0.2 and OpenFx-12-ea+14, executable created with Exe4j and Install4j.
I think the error happens if the same application runs already on the computer and I open it again.
On the top I got this error: UnsatisfiedLinkError: no glass in java.library.path. The error is below.
If possible, please provide a resolution for https://bugs.openjdk.java.net/browse/JDK-8089514 which is planned since long time - this is important for users.
Loading library glass from resource failed: java.nio.file.AccessDeniedException: C:\Users\prute\.openjfx\cache\12-ea\glass.dll
java.nio.file.AccessDeniedException: C:\Users\prute\.openjfx\cache\12-ea\glass.dll
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:270)
at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105)
at java.base/java.nio.file.Files.delete(Files.java:1141)
at com.sun.glass.utils.NativeLibLoader.cacheLibrary(NativeLibLoader.java:281)
at com.sun.glass.utils.NativeLibLoader.installLibraryFromResource(NativeLibLoader.java:203)
at com.sun.glass.utils.NativeLibLoader.loadLibraryFromResource(NativeLibLoader.java:185)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:157)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:52)
at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:110)
at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:118)
at com.sun.glass.ui.win.WinApplication.access$000(WinApplication.java:39)
at com.sun.glass.ui.win.WinApplication$1.run(WinApplication.java:101)
at com.sun.glass.ui.win.WinApplication$1.run(WinApplication.java:82)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at com.sun.glass.ui.win.WinApplication.<clinit>(WinApplication.java:82)
at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatformFactory.java:39)
REGRESSION : Last worked in version 12
FREQUENCY : always