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)
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
at
java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
at
java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
at
java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
at
java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:315)
at
java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:285)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
at java.base/java.lang.System.loadLibrary(System.java:1989)
at
java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:63)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at
java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:60)
at
java.desktop/sun.awt.PlatformGraphicsInfo.createGE(PlatformGraphicsInfo.java:36)
at
java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:93)
at
java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(GraphicsEnvironment.java:84)
at
java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:106)
at org.netbeans.core.startup.Main.start(Main.java:249)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
at java.base/java.lang.Thread.run(Thread.java:833)
the lib appears to be missing:
[mbien@fedora netbeans-validation]$ ls -l
/usr/lib/jvm/java-17-openjdk-17.0.5.0.8-1.fc37.x86_64/lib/
total 140284
-rw-r--r--. 1 root root 71374 Oct 20 15:20 classlist
-rwxr-xr-x. 1 root root 19336 Oct 20 15:26 jexec
drwxr-xr-x. 1 root root 44 Dec 1 08:02 jfr
-rw-r--r--. 1 root root 110509 Oct 20 15:20 jrt-fs.jar
-rwxr-xr-x. 1 root root 27344 Oct 20 15:26 jspawnhelper
-rw-r--r--. 1 root root 29 Oct 20 15:20 jvm.cfg
-rwxr-xr-x. 1 root root 19480 Oct 20 15:26 libattach.so
-rwxr-xr-x. 1 root root 75488 Oct 20 15:26 libawt_headless.so
-rwxr-xr-x. 1 root root 1066208 Oct 20 15:26 libawt.so
-rwxr-xr-x. 1 root root 43784 Oct 20 15:26 libdt_socket.so
-rwxr-xr-x. 1 root root 20616 Oct 20 15:26 libextnet.so
-rwxr-xr-x. 1 root root 2834624 Oct 20 15:26 libfontmanager.so
-rwxr-xr-x. 1 root root 944672 Oct 20 15:26 libfreetype.so
-rwxr-xr-x. 1 root root 80128 Oct 20 15:26 libinstrument.so
-rwxr-xr-x. 1 root root 66032 Oct 20 15:26 libj2gss.so
-rwxr-xr-x. 1 root root 26888 Oct 20 15:26 libj2pcsc.so
-rwxr-xr-x. 1 root root 131736 Oct 20 15:26 libj2pkcs11.so
-rwxr-xr-x. 1 root root 17056 Oct 20 15:26 libjaas.so
-rwxr-xr-x. 1 root root 300544 Oct 20 15:26 libjavajpeg.so
-rwxr-xr-x. 1 root root 295576 Oct 20 15:26 libjava.so
-rwxr-xr-x. 1 root root 386296 Oct 20 15:26 libjdwp.so
-rwxr-xr-x. 1 root root 166952 Oct 20 15:26 libjimage.so
-rwxr-xr-x. 1 root root 142936 Oct 20 15:26 libjli.so
-rwxr-xr-x. 1 root root 19008 Oct 20 15:26 libjsig.so
-rwxr-xr-x. 1 root root 121096 Oct 20 15:26 libjsound.so
-rwxr-xr-x. 1 root root 874632 Oct 20 15:26 libjsvml.so
-rwxr-xr-x. 1 root root 656168 Oct 20 15:26 liblcms.so
-rwxr-xr-x. 1 root root 17368 Oct 20 15:26 libmanagement_agent.so
-rwxr-xr-x. 1 root root 51256 Oct 20 15:26 libmanagement_ext.so
-rwxr-xr-x. 1 root root 44456 Oct 20 15:26 libmanagement.so
-rwxr-xr-x. 1 root root 659000 Oct 20 15:26 libmlib_image.so
-rwxr-xr-x. 1 root root 147352 Oct 20 15:26 libnet.so
-rwxr-xr-x. 1 root root 151520 Oct 20 15:26 libnio.so
-rwxr-xr-x. 1 root root 17960 Oct 20 15:26 libprefs.so
-rwxr-xr-x. 1 root root 16728 Oct 20 15:26 librmi.so
-rwxr-xr-x. 1 root root 210448 Oct 20 15:26 libsaproc.so
-rwxr-xr-x. 1 root root 43760 Oct 20 15:26 libsctp.so
-rwxr-xr-x. 1 root root 16704 Oct 20 15:26 libsyslookup.so
-rwxr-xr-x. 1 root root 18168 Oct 20 15:26 libsystemconf.so
-rwxr-xr-x. 1 root root 68472 Oct 20 15:26 libverify.so
-rwxr-xr-x. 1 root root 160752 Oct 20 15:26 libzip.so
-rw-r--r--. 1 root root 133293002 Oct 20 15:20 modules
-rw-r--r--. 1 root root 11390 Oct 20 15:20 psfontj2d.properties
-rw-r--r--. 1 root root 3793 Oct 20 15:20 psfont.properties.ja
lrwxrwxrwx. 1 root root 93 Oct 20 15:23 security ->
../../../../../etc/java/java-17-openjdk/java-17-openjdk-17.0.5.0.8-1.fc37.x86_64/lib/security
drwxr-xr-x. 1 root root 98 Dec 1 08:02 server
lrwxrwxrwx. 1 root root 30 Oct 20 15:22 tzdb.dat ->
/usr/share/javazi-1.8/tzdb.dat
-rw-r--r--. 1 root root 102218 Oct 20 15:20 tzdb.dat.upstream
best regards,
-mbien
---------------------------------------------------------------------
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