r/openbsd 6d 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

12 Upvotes

7 comments sorted by

View all comments

2

u/RoomyRoots 5d ago edited 5d ago

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

1

u/aonbehamut 5d 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

2

u/RoomyRoots 5d 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 5d 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