Simple jar Snap with bundled jre

Hi @ogra, I’m very new to snapcraft. I’ve read your code again and again and I could not succeed to make the java runtime available in the snap.
I really feel stuck now

The test gives me the well known :

java: not found

You can find the Travis build output it it can help : https://travis-ci.org/adriens/schemacrawler-snapcraft/builds/449298036

I guess I’m not that far from maing it run ?

Thank you in advance for your help.

Kind Regards,
Adrien