flathub / flathub/org.eclipse.Java

Cannot start Java 11 with JMX enabled in Ubuntu

未关闭
#18 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
没有语言数据
星标
6
派生
10
平均合并
7 小时 27 分钟
30 天内合并 PR
2

描述

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?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。