<div dir="ltr">Hi,<div> I am trying to build up some competency with snapcraft for java applications.</div><div><br></div><div>Currently I have a hello world project which is based on </div><div><a href="https://github.com/ubuntu-core/snapcraft/blob/1.x/examples/java-hello-world/snapcraft.yaml">https://github.com/ubuntu-core/snapcraft/blob/1.x/examples/java-hello-world/snapcraft.yaml</a>.<br></div><div><br></div><div>I have extended in that HelloWorld.java references a method from another package in an external jar file (HellowWorld-helper.jar)</div><div><br></div><div>I edited the snapcraft.yaml to use the copy plugin to copy the jar file to the jar directory. </div><div>It can be seen there after the snap stage.</div><div><br></div><div>However in bin.wrapper.wrapper , the external jar file is not added to the classpath. So the application fails on running.</div><div><br></div><div>How do I fix this?</div><div><br></div><div>Jenny</div><div><br></div><div><br></div><div><br></div><div><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div><strong>Jenny Murphy</strong></div>
<div><strong>EpiSensor, Georges Quay House, Georges Quay, Limerick, Ireland</strong></div>
<div>jenny.murphy<a href="mailto:jenny.murphy@episensor.com" target="_blank">@episensor.com</a>  t | +353 (0) 61 512 511  w | <a href="http://www.episensor.com/" target="_blank">http://www.episensor.com</a></div></div>
</div></div>