flathub / flathub/org.eclipse.Java

Cannot start Java 11 with JMX enabled in Ubuntu

Đang mở
#18 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
6
Fork
10
Merge trung bình
7 giờ 27 phút
Pull request đã merge (30 ngày)
2

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.