I tried installing the FTB App using the .sh install script from the Website.
The script failed with a NoClassDefFoundError (complete output below).
I have tried with Openjdk 17 and 1.8. Both failed. I am using Fedora 36.
The complete output:
The script failed with a NoClassDefFoundError (complete output below).
I have tried with Openjdk 17 and 1.8. Both failed. I am using Fedora 36.
The complete output:
Starting Installer ...
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor (file:/home/lorenz/Downloads/FTBA_unix_202206081143-2e021f8e74-release.sh.26446.dir/i4jruntime.jar)
WARNING: Please consider reporting this to the maintainers of com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor
WARNING: System::setSecurityManager will be removed in a future release
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Component
at java.desktop/javax.swing.ImageIcon$2.run(ImageIcon.java:147)
at java.desktop/javax.swing.ImageIcon$2.run(ImageIcon.java:145)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.desktop/javax.swing.ImageIcon.createNoPermsComponent(ImageIcon.java:144)
at java.desktop/javax.swing.ImageIcon$1.run(ImageIcon.java:123)
at java.desktop/javax.swing.ImageIcon$1.run(ImageIcon.java:120)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.desktop/javax.swing.ImageIcon.<clinit>(ImageIcon.java:120)
at com.install4j.runtime.installer.frontend.GUIHelper.loadIcon(GUIHelper.java:195)
at com.install4j.runtime.installer.frontend.GUIHelper.<clinit>(GUIHelper.java:55)
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(AbstractHeadlessScreenExecutor.java:81)
at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(ConsoleScreenExecutor.java:24)
at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(InstallerConsoleScreenExecutor.java:6)
at com.install4j.runtime.installer.Installer.getScreenExecutor(Installer.java:91)
at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:60)
at com.install4j.runtime.installer.Installer.main(Installer.java:46)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
at com.install4j.runtime.launcher.UnixLauncher.start(UnixLauncher.java:66)
at install4j.Installer465309369.main(Unknown Source)
An error occurred:
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
Error log: /tmp/install4jError6600708207192662876.log
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
at java.desktop/javax.swing.ImageIcon.<init>(ImageIcon.java:215)
at java.desktop/javax.swing.ImageIcon.<init>(ImageIcon.java:234)
at com.install4j.runtime.installer.frontend.GUIHelper.loadIcon(GUIHelper.java:195)
at com.install4j.runtime.installer.frontend.GUIHelper.<clinit>(GUIHelper.java:55)
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(AbstractHeadlessScreenExecutor.java:81)
at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(ConsoleScreenExecutor.java:24)
at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(InstallerConsoleScreenExecutor.java:6)
at com.install4j.runtime.installer.Installer.getScreenExecutor(Installer.java:91)
at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:60)
at com.install4j.runtime.installer.Installer.main(Installer.java:46)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
at com.install4j.runtime.launcher.UnixLauncher.start(UnixLauncher.java:66)
at install4j.Installer465309369.main(Unknown Source)
Last edited: