title: Mac OS X: java.lang.ClassNotFoundException: com.sun.java.browser.plugin2.DOM
body: <p>I am trying to use the new LiveConnect features introduced in Java 6 Update 10.</p>
  
  <p>Code looks like this (copied from the applet tutorial):</p>
  
  <pre><code> Class&lt;?&gt; c = Class.forName("com.sun.java.browser.plugin2.DOM");
   Method m = c.getMethod("getDocument", java.applet.Applet.class);
   Document document = (Document) m.invoke(null, this);
  </code></pre>
  
  <p>But all I am getting is a ClassNotFoundException for the entry-point class.</p>
  
  <p>This on the Mac, 10.6, with both Firefox and Safari.</p>
  
  <pre><code>Java Plug-in 1.6.0_22
  Using JRE version 1.6.0_22-b04-307-10M3261 Java HotSpot(TM) 64-Bit Server VM
  </code></pre>
  
  <p>Is this not implemented on the Mac? Or do I need to configure something?</p>
  
  <p>All I need to do is get and set the value of form elements on the page, so
  I would be fine with an older (pre-6u10) API if that works better.</p>