This is my present Yaml:
my program is in a jar which contains all dependecies so I have commented out all references to java in my Yaml.
My highlighterpdf.sh just contains:
java -jar $SNAP/highlighterpdf.jar
It all installs but when I go to run it is gives:
/snap/highlighterpdf/x1/highlighterpdf.sh: 6: /snap/highlighterpdf/x1/highlighterpdf.sh: java: not found
how do I reference java inside the highlighterpdf.jar file?
Footnote for the above:
When I look inside the jar it does not seem to have java present would java show up in the archive manager?