title: NoClassDefFoundError using jna.jar and platform.jar
body: <p>I need to find a way to change the settings of proxy on the IE 9.</p>
  
  <p>I know a way directly in the reg., but ie9 doesn't refresh after I set them.
  I tried to use another solution with jna:</p>
  
  <p><a href="https://stackoverflow.com/questions/5501787/invoke-wininet-functions-used-java-jna">Invoke WinInet Functions Used Java + JNA</a></p>
  
  <p>In my case I use only:</p>
  
  <pre><code>System.out.println("Set refreshed...");
  
  if (!WinInet.INSTANCE.InternetSetOption(
      hInternet, WinInet.INTERNET_OPTION_REFRESH, (Pointer) null, len)) {
          System.out.println("InternetSetOption failed!:"
              + Kernel32.INSTANCE.GetLastError());
  </code></pre>
  
  <p>but I get this error:</p>
  
  <pre><code>Set refreshed...
  Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
      com/sun/jna/platform/win32/WinDef$DWORD
  </code></pre>
  
  <p>I downloaded the lib jars from here:</p>
  
  <p><a href="http://java.net/projects/jna/downloads/directory/3.3.0" rel="nofollow noreferrer">http://java.net/projects/jna/downloads/directory/3.3.0</a></p>
  
  <p>Thank you.</p>