Home > Back-end > Deployment headaches project deployment in the Linux system
Deployment headaches project deployment in the Linux system
Time:11-25
The JDK 1.8 version Built by the general project, written in deployment headaches desktop applications, packaged into exe running on Windows, Into an executable jar, run on Windows is normal also, to deploy on Linux after Jre/lib/amb64/directory libglassgtk2. So file error undefined symbol: gdk_visual_get_depth, Replaced a few different versions of the linux1.8 jre has undefined symbol error, but is a different file
Please provide a solution, if you have understand the deployment headaches, in addition to playing an executable jar what way deployment,
CodePudding user response:
GTK version problem, estimate your Linux is gtk3, but deployment headaches gtk2
Try this: In a startup command line parameter - Djdk. GTK. Version=3//Toggles the preferred version to GTK 3