PS also I'd be interested to know the output of
ldd /lib/jvm/java-17-openjdk-amd64/lib/libfontmanager.so

It should resolve libharfbuzz.so in some system directory

I've double-checked the test build I did on Ubuntu 20.10 for JDK 17 b14 and it works fine
finding libharfbuzz there.

So my current best guess is it is related to how your distro built it ..


-phil.



On 3/29/21 10:33 PM, Philip Race wrote:


On 3/29/21 8:14 PM, mc36 wrote:
hi,
please dont! i got ~15 and the issue is gone!

please don't do what ?

(but answering line by line, who knows)
thanks,
cs

Ok. So it looks like you are using some debian build of openjdk and it seems likely
it can't find the system libharfbuzz.so since that symbol is very basic.

If you use the one from https://jdk.java.net/17/ I expect it will work since it does
what the JDK 15 does that I suggested.

I can't tell what the JDK 16 you have does since I'd need to see an ls -l of your
/lib/jvm/java-16-openjdk-amd64/lib/libfontmanager.so

-phil.



On 3/29/21 6:41 PM, Philip Race wrote:
Moving this to the right list.

There's lots of missing information in your email.

1) I don't know what a debian sid is. Internet suggests it is some upstream dev version
Is this reproducible on any shipping distro ?
yesss, it is. https://www.debian.org/
the only difference that you replace stable to unstable/sid/experimental,depending how brave you're.... :)


2) Where exactly did you get the openjdk build 17 ? Was it from https://jdk.java.net/17/ or somewhere else ?
Please show the output of "java -version" to help confirm it.

sudo apt install openjdk-17-jre -- to get the latest build of them....
at the moment i see the following version:

mc36@noti:~$ java -version
openjdk version "17-ea" 2021-09-14
OpenJDK Runtime Environment (build 17-ea+15-Debian-1)
OpenJDK 64-Bit Server VM (build 17-ea+15-Debian-1, mixed mode, sharing)
mc36@noti:~$


3) What does  "ls -l lib/libfontmanager.so" show ?

mc36@noti:~$ find /lib/ -name libfontmanager.so
/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libfontmanager.so
/lib/jvm/java-15-openjdk-amd64/lib/libfontmanager.so
/lib/jvm/java-16-openjdk-amd64/lib/libfontmanager.so
/lib/jvm/java-13-openjdk-amd64/lib/libfontmanager.so
/lib/jvm/java-11-openjdk-amd64/lib/libfontmanager.so
/lib/jvm/java-14-openjdk-amd64/lib/libfontmanager.so
/lib/jvm/java-17-openjdk-amd64/lib/libfontmanager.so
mc36@noti:~$ ls -lsa /lib/jvm/java-17-openjdk-amd64/lib/libfontmanager.so
56 -rw-r--r-- 1 root root 55960 Mar 25 10:31 /lib/jvm/java-17-openjdk-amd64/lib/libfontmanager.so
mc36@noti:~$


4) What was the JDK version you had immediately before this and where did you get that ?
i have all that is available in the distro, but it depends, my older installations have something from java6 times :)

5) Does either JDK 11u or JDK15u work in this respect on that system ?

yesss, right now, every installed jvm works perfectly, i olny saw the issue with 17~14!!!! then, for a while i sudo update-alternatives --config java 'ed to 16, but when they bumped to ~15, the i reverted to auto, that is 17, and the issue is completely gone, now all the
jvms i have works fine!




Reply via email to