Я пытаюсь установить коммерческое Java-приложение, которое поставляется с настройкой install4j на новой виртуальной машине Debian 9.3 (AMD64) с Xfce.
# chmod +x setupLinux.sh
# ./setupLinux.sh -J- DJava.awt.headless=true
Unpacking JRE ...
Preparing JRE ...
Starting Installer ...
java.lang.NoClassDefFoundError: java.awt.Container
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(AbstractHeadlessScreenExecutor.java:67)
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:92)
at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:58)
at com.install4j.runtime.installer.Installer.main(Installer.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Согласно этому сообщению я установил lib32z1 и lib32ncurses5, поскольку библиотеки ia32 недоступны больше.
Я установил LibXtst, как указано в этом сообщении.
# locate libXtst
/usr/lib/i386-linux-gnu/libXtst.so.6
/usr/lib/i386-linux-gnu/libXtst.so.6.1.0
/usr/lib/x86_64-linux-gnu/libXtst.so.6
/usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
но ошибка сохраняется.
Любая помощь приветствуется. Ваше здоровье
Редактировать 2:
Приложение поставляется в комплекте с Oracle-Java 8.x.
Сервер имеет:
java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1~deb9u1-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)