[Java SE] Java SE 8 Application Startup or Deployment Fails with Threads in WAITING and BLOCKED State Due to FileSystems.getDefault and System.loadLibrary Interplay
(Doc ID 2520608.1)
Last updated on NOVEMBER 09, 2023
Applies to:
Java SE JDK and JRE - Version 8 and laterInformation in this document applies to any platform.
Symptoms
Java SE 8 application startup or deployment fails with threads in WAITING and BLOCKED states at
java.lang.Runtime.loadLibrary0(Runtime.java:862)
while waiting on a lock that is held by another thread that is stuck at
java.nio.file.FileSystems.getDefault(FileSystems.java:176).
The following example thread dump excerpt shows the issue:
Multiple threads may be BLOCKED at java.lang.Runtime.loadLibrary0(Runtime.java:862). This example shows only the necessary component threads for the problem to occur.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |