Conflict between JRE and Zorin and present computer?

There is a program I need to use which is based on java, currently using jre17.0.4
Until recently I was using this program on Zorin 17 on an old laptop. The laptop died, I bought a new one, and installed Zorin 17, but when I start this program there seems to be a problem starting Java. It generates an error log, the first few lines of which are

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007522335b1482, pid=18082, tid=18146

JRE version: OpenJDK Runtime Environment Temurin-17.0.4+8 (17.0.4+8) (build 17.0.4+8)

Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.4+8 (17.0.4+8, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)

Problematic frame:

C [libX11.so.6+0x2b482]

No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

If you would like to submit a bug report, please visit:

Issues · adoptium/adoptium-support · GitHub

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

I don't really understand if the problem is with Java, Zorin, or the laptop.
The laptop (which I bought used) does have some issues with the battery and the BIOS checksums, booting is not as smooth as it could be but I have a workaround. It is an HP PROBOOK 650 G1 , with a 8 GB / 256 GB SSD.
Thanks in advance for any words of wisdom :slight_smile:

Just took a look through the Github for all the reports of errors, it seems like there's a lot of reports of something similar going on with this program. This may be something that you should report your own specific bug report there and tag on to everything else that seems to be a very similar issue.

It's possible that a recent update to Zorin has caused this, specifically a kernel update or the like, and you could try booting into an older kernel (6.5 instead of 6.8 as an example) at the bios selection screen. But other than that, I'm afraid I'm out of assistance on this one.

1 Like

What do you mean with ''BIOS checksums''? Are You mean the Verification-Check when Zorin starts on a USB Stick?

1 Like

This suggests an XWayland conflict - Have you tested it logged in on X11 instead of Wayland?

2 Likes

I have to say that I tried to download this and see if I could reproduce the issue, but Java has its own way of making things unnecessarily difficult. I'm not proud to say that I've failed miserably in trying to do so :joy:

No, I haven't, I am researching what X11 and Wayland mean (it's new terminology to me). I have looked carefully at the boot options (called up using F9 during boot) and also the login, and at no point do I see an option for either X11 or Wayland.

Thanks. How do I boot into an older kernel? I already have to use a workaround during boot - each boot I have to press F9 and pick the booting device from the menu, otherwise the booting device cannot be found (even though it is ubuntu stored on the internal SSD of the laptop).

Those are different types of so-called display servers, which make things like windows interactive and such (I'm going with a very loose definition here). For now, just know that Zorin OS uses Wayland by default, which is the newer (relative to X11 anyway) but still not quite up there technology, with issues here and there.

To change between them, you have to first login to your account normally, and then logout. Once you're back at the login screen, you'll see a wheel at the lower right corner with two options, like so:

Select the one you want (in this case, try with Xorg) and login normally.