自包含的 javafx 应用程序无法在 ubuntu 中 运行:问题 GLIBCXX_3.4.21

self-contained javafx application fail to run in ubuntu : issue with GLIBCXX_3.4.21

我尝试了各种适当的修复,但没有任何效果..

值得一提的是,这一切都是在虚拟机的全新 ubuntu 桌面版 运行ning 中完成的。 ( ubuntu 14.04.1 amd64 )

尝试 jdk8u181 或更少。 jdk 提供的启动器(在 lib/ant-javafx.jar -> ./com/oracle/tools/packager/linux/JavaAppLauncher 中)没有相同的符号表。它看起来像是 oracle 的 jdk 编译和分发系统中的错误。

$ objdump -T 181/./com/oracle/tools/packager/linux/JavaAppLauncher

181/./com/oracle/tools/packager/linux/JavaAppLauncher:     format de fichier elf64-x86-64

DYNAMIC SYMBOL TABLE:
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4 _ZNSsaSEPKc
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 dirname
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4 _ZNSsC1Ev
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 printf
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4 _ZNSspLEPKc
0000000000000000  w   D  *UND*    0000000000000000              __gmon_start__
0000000000000000  w   D  *UND*    0000000000000000              _Jv_RegisterClasses
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4 _ZNKSs5c_strEv
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4 _Znam
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 __libc_start_main
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4 _ZNSsD1Ev
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 dlclose
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4 _ZNSsC1EPKcRKSaIcE
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 readlink
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4 _ZNSaIcED1Ev
0000000000000000  w   D  *UND*    0000000000000000              __pthread_key_create
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4 _ZdaPv
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 dlopen
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 dlsym
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 setlocale
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4 _ZNSaIcEC1Ev
0000000000000000      DF *UND*    0000000000000000  GCC_3.0     _Unwind_Resume
0000000000400a50      DF *UND*    0000000000000000  CXXABI_1.3  __gxx_personality_v0


$ objdump -T 191/./com/oracle/tools/packager/linux/JavaAppLauncher

191/./com/oracle/tools/packager/linux/JavaAppLauncher:     format de fichier elf64-x86-64

DYNAMIC SYMBOL TABLE:
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 dirname
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 printf
0000000000000000  w   D  *UND*    0000000000000000              __gmon_start__
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4 _Znam
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 __libc_start_main
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4.21 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4.21 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4.21 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 dlclose
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 readlink
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4 _ZNSaIcED1Ev
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4 _ZdaPv
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 dlopen
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 dlsym
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4.21 _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv
0000000000000000      DF *UND*    0000000000000000  GLIBC_2.2.5 setlocale
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4.21 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4 _ZNSaIcEC1Ev
0000000000000000      DF *UND*    0000000000000000  GCC_3.0     _Unwind_Resume
0000000000000000      DF *UND*    0000000000000000  GLIBCXX_3.4.21 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc
0000000000400be0      DF *UND*    0000000000000000  CXXABI_1.3  __gxx_personality_v0