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

https://www.coder.work/article/870892

CodePudding user response:

reference 1st floor tianfang response:
GTK version problem, estimate your Linux is gtk3, but deployment headaches using gtk2

Try this:
In a startup command line parameter - Djdk. GTK. Version=3//Toggles the preferred version to GTK 3

https://www.coder.work/article/870892
thank you for your reply, tried it on today, libglassgtk2. So this file is called to ask a question again, if I want to modify this file directly, whether can only compile download again after its modification, don't know the ideas right, also with Linux system is domestic dwelling on the rock

CodePudding user response:

CodePudding user response:

reference fox demon little matchmaker reply: 3/f
Quote: refer to 1st floor tianfang response:
GTK version problem, estimate your Linux is gtk3, but deployment headaches using gtk2

Try this:
In a startup command line parameter - Djdk. GTK. Version=3//Toggles the preferred version to GTK 3

https://www.coder.work/article/870892
thank you for your reply, tried it on today, libglassgtk2. So this file is called to ask a question again, if I want to modify this file directly, whether can only compile download again after its modification, don't know the ideas right, also with Linux system is domestic dwelling on the rock


Install gtk3 feasible
  • Related