title: Where is plugin.jar for Java 7 for OSX
body: <p>If you're using Java &lt; 1.7 on OS X and you need to use JSObject for connecting an applet to JavaScript, you can find it in in $JAVA_HOME/jre/lib/plugin.jar.</p>
  
  <p>The "plugin.jar" archive doesn't seem to exist on Java 1.7 for OS X (as packaged by Oracle). There is a jfxrt.jar that seems to contain JSObject, but that unfortunately means that you can't use the same plugin.jar that you can on almost any other JDK, including 7u5 for Linux, which still has plugin.jar built right in.</p>
  
  <p>In particular, this gets irritating if you're trying to use it as a compilation dependency for a build tool such as Maven, which you could otherwise do with a <a href="http://rostislav-matl.blogspot.ca/2011/10/java-applets-building-with-maven.html" rel="nofollow">JAVA_HOME-relative path</a>.</p>