I have an executable jar program. It's an JavaFX program. It runs great on OpenJDK 8 and higher. I want to publish it as a snap package in Ubuntu's developer portal. I have it currently packaged as a deb file, however, Ubuntu doesn't accept those. I need to submit it as a snap package.
That's my current hurdle. I am completely new to Snapcraft. I read the documentation at http://snapcraft.io It gave a good overview on the terminal commands and the theory behind snap packages.
I still can't seem to package my program (code my snapcraft.yaml) correctly. All I need is the openjdk-8-jre dependency included and my executable jar. The deb package I created installs perfectly and creates a desktop file with an icon so that people could run it from the menu. Is there a way to include this in the snap package?
Thank you for any help!