Assuming this is a GUI and not command line.
You'll need to add in access to X11 and also import in the full Java
environment since the jdk plugin is headless.
https://github.com/ZenHarbinger/torgo/blob/master/snapcraft.yaml
Also, I'm not sure about executing the jar straight from the
commandline. It's easier to have a wrapper that does this work for you.
https://github.com/ZenHarbinger/torgo/blob/master/wrapper
--
Matt
On Wed, Oct 12, 2016 at 12:19 PM, oldgeek <[email protected]>
wrote:
Hi
I have a executable .jar file inside of a .tar.
When I build and install a snap using this .yaml:
http://pastebin.com/SDkqWFLg
It does not work and I get this fault:
/snap/highlighterpdf/x17/command-highlighterpdf.wrapper: 7: exec:
highlighterpdf: not found
Any help gratefully received.
Gerry
--
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/snapcraft
--
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/snapcraft