UnsatisfiedLinkError
Great with Java 11 suuport. I immediateliy tried our old desktop app, but quickly ran into these problems with the bundled java libraries. Am I doing somethin wrong, or is this simply corners of the JRE not addressed yet?
Here's the stack traces:
#1
Caused by: java.lang.UnsatisfiedLinkError: no management_ext in java.library.path: [.]
at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[na:na]
at java.lang.Runtime.loadLibrary0(Unknown Source) ~[na:na]
at java.lang.System.loadLibrary(Unknown Source) ~[na:na]
at com.sun.management.internal.PlatformMBeanProviderImpl.lambda$static$0(Unknown Source) ~[na:na]
at com.sun.management.internal.PlatformMBeanProviderImpl$$Lambda$46.run(Unknown Source) ~[na:na]
at com.sun.management.internal.PlatformMBeanProviderImpl.<clinit>(Unknown Source) ~[na:na]
##2
java.nio.file.FileSystemException: /files: Function not implemented
at sun.nio.fs.UnixException.translateToIOException(Unknown Source) ~[na:na]
at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source) ~[na:na]
at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source) ~[na:na]
at sun.nio.fs.UnixFileStore.readAttributes(Unknown Source) ~[na:na]
at sun.nio.fs.UnixFileStore.getUsableSpace(Unknown Source) ~[na:na]
##3
java.lang.UnsatisfiedLinkError: Java_sun_nio_ch_FileKey_initIDs
at sun.nio.ch.FileKey.<clinit>(Unknown Source) ~[na:na]
at sun.nio.ch.FileLockTable.<init>(Unknown Source) ~[na:na]
at sun.nio.ch.FileChannelImpl.fileLockTable(Unknown Source) ~[na:na]
at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source) ~[na:na]
at java.nio.channels.FileChannel.tryLock(Unknown Source) ~[na:na]
3 Replies
Please provide a complete test case
sorry, I do not have the time to seperate every stacktrace for this app into into seperate example projects, I can only provide the stack trace as indication of what is wrong.
Can you provide access to the whole sample?
It is much, much harder for us to fix problems without an example