-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Actions build for linux - can install but not run #51
Comments
FWIW I don't know much of anything about how deb packaging works. I'm just picking up the package emitted by package. 🤷♂️ Glancing at the docs https://docs.oracle.com/en/java/javase/14/docs/specs/man/jpackage.html there are a bunch of flags specific to Linux that I'm not familiar with but look a lot like some of the same unique identifier stuff required by other OSes. Maybe setting some of those flags...? |
Yeah I don't know much about deb packaging either 🤗. I did some googling and it might be related to GTK versions. In my testing, this launch bug happens in both 18.04 and 21.10 - both of which seem to come with both gtk2 and gtk3. Check with Trying flag -Djdk.gtk.version=2This post suggests
to the file When I installed and ran the Trying flag -Djdk.gtk.version=3This post suggests the flags
Under both Ubuntu 18.04 and 21.10 I got:
|
That is absolute exemplar Linux yak shaving... >_< |
I tried installing the
.deb
built by the linux build action on my Ubuntu 18.04. Double clicking on the filehttps://github.com/wiverson/maven-jpackage-template/releases/download/Ubuntu-latest/testapp_21.40.052006-1_amd64.deb
installs it ok, but finding it via the Desktop search and then running it did nothing. So I ran it from the terminal:
Update:
I uninstalled it and installed it again using the command line - only to see a broken repository error being reported?
Despite the error, the TestApp seems to be installed ok, but with the same
GDK error trap
error when attempting to run it.The text was updated successfully, but these errors were encountered: