openpty UnsatisfiedLinkError during startup
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Expected behavior
No error should occur.
Observed/Actual behavior
During startup, an error occurs in the console:
Starting org.bukkit.craftbukkit.Main
Juli 09, 2026 2:01:27 PM org.jline.terminal.impl.ffm.CLibrary <clinit>
WARNUNG: Unable to find openpty native method in static libraries and unable to load the util library.
- java.lang.UnsatisfiedLinkError: no util in java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
[14:01:27 INFO]: [bootstrap] Running Java...
[14:01:27 INFO]: [bootstrap] Loading Paper...
The error is only visible in the console and not within the logs.
Steps/models to reproduce
Start a server on Linux with the latest jdk-25. On Windows the error doesn't occur.
Paper version
Affected versions:
26.1.2-74
26.2-56
Most recent version:
This server is running Paper version 26.2-56-main@8cd4f47 (2026-07-09T08:35:16Z) (Implementing API version 26.2.build.56-alpha)
Other
On 1.21.11 with Java 21, the error didn't occur.
What causes the error? Has it any effects?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing startup on Linux with JDK 25 and compare it with Java 21, using the warning from org.jline.terminal.impl.ffm.CLibrary as the entry point. Determine why openpty cannot be loaded, whether the warning has runtime effects, and what observable behavior confirms the issue is resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100