[arch-general] How to have multiple JDKs parallel?

Carsten Mattner carstenmattner at gmail.com
Tue Sep 18 08:25:06 UTC 2018


On 9/17/18, ProgAndy <admin at progandy.de> wrote:
> Am 18.09.18 um 00:23 schrieb Carsten Mattner via arch-general:
>> Hope you don't mind me hijacking the thread to ask if you've ever
>> extracted an adoptopenjdk tarball and were able to use it for running
>> a Swing GUI. The jdk10-openjdk (not bin, didn't try aur) package in arch
>> works, but whatever x86_64 tarball I download from adopopenjdk won't
>> display Swing GUIs. It just throws exceptions about font loading.
>> Do you have relevant experience to share/hint?
>
> There is a similar (the same?) error with MacOS builds:
>
> https://github.com/AdoptOpenJDK/openjdk-build/issues/489

I get these:

java.lang.InternalError: java.lang.reflect.InvocationTargetException
  at sun.font.FontManagerFactory$1.run(
    java.desktop at 10.0.2-adoptopenjdk/FontManagerFactory.java:86)


More information about the arch-general mailing list