The executable part of the jarsigner
tool is just a thin wrapper over a pure Java implementation. In fact it's the same wrapper that is used for java,
javac,
javap,
etc.
The real problem you have is that the class files used by jarsigner
are in tools.jar,
which isn't present in a JRE.