Run Java application jar-file

I want to run a Java application jar.file.
Typically I would execute this command: java -jar /path/to/java-file.jar
after installing OpenJDK package.

Now running MicroOS this is different; I don’t intend to install OpenJDK with transactional-update.
Instead I prefer to build a new image based on an image build of OpenJDK, e.g. sapmachine.

Can you please advise how to proceed?