Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Cannot start Java 11 with JMX enabled in Ubuntu

Open
#18 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java, spring-boot, ubuntu

Research direction

Reproduce the startup failure with a Spring Boot app using host-installed Java 11 and JMX enabled. Inspect how the Flatpak exposes /run/host/usr/lib/jvm/java-11-openjdk-amd64/conf/management/management.properties and its /etc/java-11-openjdk/management/management.properties symlink. Done means the file resolves inside the Flatpak and the application starts with JMX enabled.

Written by the indexing model from the issue text.

Description

bug

When trying to start a Spring Boot app with a JRE locally installed in the host system (under /run/host/usr/lib/jvm/java-11-openjdk-amd64), I get the following exception on startup:

Error: Config file not found: /run/host/usr/lib/jvm/java-11-openjdk-amd64/conf/management/management.properties

That file actually exists, but it's a symlink that points to /etc/java-11-openjdk/management/management.properties, which is probably not "visible" to the flatpak (it should be mapped to /run/host/etc/java-11-openjdk/management/management.properties). If I disable JMX, it works instead, but this disables Spring Boot app Lifecycle Management.

Is there a workaround?

Dominant language
No language data
Stars
6
Forks
10
Avg merge
7h 27m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from flathub/org.eclipse.Java

All issues in flathub/org.eclipse.Java

Similar issues

More Desktop Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.