Thanks for your quick reply. I've switched to JDK 11
But then the next problem appeared:
Code: Select all
(java:3878): Gdk-CRITICAL **: 20:11:40.666: gdk_x11_display_set_window_scale: assertion 'GDK_IS_X11_DISPLAY (display)' failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f380fc0b76a, pid=3878, tid=3917
#
# JRE version: OpenJDK Runtime Environment (11.0.3+1) (build 11.0.3+1-Debian-1)
# Java VM: OpenJDK 64-Bit Server VM (11.0.3+1-Debian-1, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libX11.so.6+0x2e76a]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid3878.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted
I Have found the info that it could be a problem with Wayland so adding a
-Djdk.gtk.version=2 to the VM arguments does the trick for me!