Do I need to sign my .jar application files to get them to run in OS X or Windows?
<p>I have almost completed my first Java application and have compiled it as a .jar (with a second .jar in the accompanying 'lib' file).  To my surprise this totally unsigned application runs on my Mac (OS X 10.11 El Capitan) without even requesting an administrator password.  This surprises me as </p>

<ol>
<li>I've always had to type an administrator password when installing apps on a Mac before, and </li>
<li>I thought SIP was supposed to stop unsigned applications running.  This is the same machine I used for most of the programming and for the compilation.</li>
</ol>

<p>So my question(s): </p>

<ul>
<li>Will my unsigned Java application run on any Mac with a compatible JRE installed?</li>
<li>If not, do I need signing keys and certificates from Apple or will any do? What about Windows (and indeed Linux) (it seems lots of people have been having difficulty getting .jars to run in Windows 10)?</li>
</ul>

<p>I should mention that I am going to try to sign the application anyway, to reassure users and avoid the danger of people passing off malware as my program.  I'm a total novice when it comes to all this!</p>