Public bug reported:
Initially reported as https://askubuntu.com/q/1566812/1004020 ,
reproduced on Ubuntu 26.04.
# Expected behavior
`jmeter` should start.
# Actual behavior
```console
$ jmeter
An error occurred: Unable to make field private static java.lang.String
sun.awt.X11.XToolkit.awtAppClassName accessible: module java.desktop does not
"opens sun.awt.X11" to unnamed module @2f333739
```
# Workaround
```bash
JAVA_ARGS=--add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED jmeter
```
# Analysis
This workaround should be added to `/usr/share/jmeter/bin/jmeter` so
that jmeter works out of the box.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: jmeter 2.13-5build1
ProcVersionSignature: Ubuntu 7.0.0-15.15-generic 7.0.0
Uname: Linux 7.0.0-15-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Fri May 15 07:14:07 2026
InstallationDate: Installed on 2022-11-05 (1287 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
PackageArchitecture: all
SourcePackage: jakarta-jmeter
UpgradeStatus: Upgraded to resolute on 2026-04-24 (21 days ago)
** Affects: jakarta-jmeter (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute third-party-packages wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2152696
Title:
can't start due to sun.awt.X11.XToolkit.awtAppClassName
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jakarta-jmeter/+bug/2152696/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs