Hi Michael,

Am Donnerstag, dem 16.02.2023 um 17:52 +0100 schrieb Michael Bien:
> tested the rpm on Red_Hat-17.0.5.0.8-1.fc37 
> (+Red_Hat-17.0.6.0.10-1.fc37) and it did not start, it did work fine on 
> other JDKs, e.g on Corretto 17:
> 
> [mbien@fedora netbeans-validation]$ uname -a
> Linux fedora 6.0.10-300.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Nov 26 
> 16:55:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
> [mbien@fedora netbeans-validation]$ java -version
> openjdk version "17.0.5" 2022-10-18
> OpenJDK Runtime Environment (Red_Hat-17.0.5.0.8-1.fc37) (build 17.0.5+8)
> OpenJDK 64-Bit Server VM (Red_Hat-17.0.5.0.8-1.fc37) (build 17.0.5+8, 
> mixed mode, sharing)
> 
> [mbien@fedora netbeans-validation]$ netbeans
> which: no javac in 
> (/home/mbien/.local/bin:/home/mbien/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin)
> WARNING: package com.apple.eio not in java.desktop
> java.lang.UnsatisfiedLinkError: Can't load library: 
> /usr/lib/jvm/java-17-openjdk-17.0.5.0.8-1.fc37.x86_64/lib/libawt_xawt.so
>      at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2393)
>      at java.base/java.lang.Runtime.load0(Runtime.java:755)
>      at java.base/java.lang.System.load(System.java:1953)

Neil is right. I checked the Fedora 37 workstation live DVD and:

sudo dnf list installed | grep jdk

shows:

java-17-openjdk-headless.x86_64

This is trivially fixed by running:

sudo dnf install java-17-openjdk

And yay - starts.

HTH

Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to