May be due to your gfx driver/opengl renderer being used.
Post your gfx details.
I'm not on top of java and glx but others may know.
Inxi is a script in the repos that makes it easier.
Code:
sudo apt install inxi
Then post the output of
eg
Code:
glen@Bionic:~$ inxi -G
Graphics: Card: NVIDIA GF116 [GeForce GTX 550 Ti]
Display Server: x11 (X.Org 1.19.6 ) driver: nvidia Resolution: 1680x1050@59.88hz
OpenGL: renderer: GeForce GTX 550 Ti/PCIe/SSE2 version: 4.6.0 NVIDIA 390.116
Please use code blocks...see sig below.
Bookmarks