title: Java_Swings/AWT Native Interface give error in 32-bit window OS
body: <p>I follow step as mention in below link and create .dll and java application.</p>
  
  <p><a href="https://en.wikibooks.org/wiki/Java_Swings/AWT" rel="nofollow noreferrer">https://en.wikibooks.org/wiki/Java_Swings/AWT</a>.
  <em>Every thins work fine in window 7/8 64-bit OS.</em> </p>
  
  <p>In window7 32-bit OS,  It work after below change in code.</p>
  
  <pre><code>public class JavaSideCanvas extends Canvas {
  
      static {
          System.loadLibrary("jawt");
          System.loadLibrary("NativeSideCanvas");
      }
  
      public native void paint(Graphics g);
  
      public static void main(String[] args) {
          Frame frame = new Frame();
          frame.setBounds(0, 0, 500, 500);
          JavaSideCanvas jsc = new JavaSideCanvas();
          frame.add(jsc);
          frame.addWindowListener(new WindowAdapter() {
              public void windowClosing(WindowEvent ev) {
                  System.exit(0);
              }
          });
          frame.show();
      }
  }
  </code></pre>
  
  <p>But it is not working in window8 32-bit OS.</p>
  
  <p>I found the cause, <strong>jawt.lib</strong> is giving error. If i remove from linker setting of my project,then it works fine</p>
  
  <p>Can any one help me why it is not working in window8 32-OS only?.</p>
  
  <p>Thanks in Advance</p>