Using Java Package MATLAB without MATLAB

I have package MATLAB project (.m) to Java Package project (.jar) project with my MATLAB R2016a and I want to give the (.jar) to my friend that he hasn’t MATLAB R2016a.
Can it works only with the MATLAB Runtime without the MATLAB R2016a itself?
What kind of properties should I have so the (.jar) works without MATLAB R2016a?
How does it work?