I need to create a snap installation package for a java application that I developed. I followed the creation tutorial for java but it did not make it clear how to encapsulate an application I created. I also need to know how to add Oracle JRE to the snap package.