Assuming this is a GUI and not command line.<div>You'll need to add in access to X11 and also import in the full Java environment since the jdk plugin is headless.</div><div><br><div><a href="https://github.com/ZenHarbinger/torgo/blob/master/snapcraft.yaml">https://github.com/ZenHarbinger/torgo/blob/master/snapcraft.yaml</a></div><div><br></div><div>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.</div><div><br></div><div><a href="https://github.com/ZenHarbinger/torgo/blob/master/wrapper">https://github.com/ZenHarbinger/torgo/blob/master/wrapper</a></div><div>--</div><div>Matt<br><br>On Wed, Oct 12, 2016 at 12:19 PM, oldgeek <oldgeek@thesenilegeek.com> wrote:<br>
<blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">Hi
I have a executable .jar file inside of a .tar.
When I build and install a snap using this .yaml:
<a href="http://pastebin.com/SDkqWFLg">http://pastebin.com/SDkqWFLg</a>
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
<div>--
</div>Snapcraft mailing list
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a></div></blockquote></div></div>