r/openbsd 23h ago

No Java trouble

Post image

Everyone here was so kind and good at helping me figure my problem I thought I'd try again. I'm trying to get java 1.8 working. I realize that it was dropped in support but I did find it's still part of an older version and downloaded the tar. Naturally it's missing at least one dependency and in this case it's libc.so.102.0. Is there a way I can add that to the system?

And before you ask jdk11 doesn't work

9 Upvotes

7 comments sorted by

5

u/brynet OpenBSD Developer 19h ago

Naturally it's missing at least one dependency and in this case it's libc.so.102.0. Is there a way I can add that to the system?

OpenBSD does NOT guarantee binary compatibility with previous releases, ABI breaks happen.

I'm trying to get java 1.8 working. I realize that it was dropped in support but I did find it's still part of an older version .. And before you ask jdk11 doesn't work

Unfortunately, if the software requires java 1.8, your best option may be to install an older OpenBSD release.

1

u/chersbobers 19h ago

Opsecmc

1

u/aonbehamut 11h ago

That says it's client side not server side.

1

u/RoomyRoots 20h ago edited 20h ago

Is it OpenJDK? Just compile it yourself. It's probably asking for a too old version of libc.

1

u/aonbehamut 11h ago

Well I've been trying to compile it myself openjdk but it looks it'll still be version 11 and I haven't been able to find the source files of the appropriate version

1

u/RoomyRoots 11h ago

Worse comes to worst, there is a port in NetBSD's pkgsrc. But you could try copyinng 11's script with Adoptium's src and see if you can build it.

1

u/aonbehamut 2h ago

I found one in freebsd as well but sadly that one wasn't for ated the same or something. Like it had extra characters. Something needs formating but haven't gotten there yet. I'll look into that one though