title: Java Console not working: Can't load IA 32-bit .dll on a AMD 64-bit platform
body: <p>So I have Eclipse 3.7.1, running on a 64-bit Windows 7 OS. For the first time in a while yesterday I tried writing a program and kept getting the above error. I refined my program down to a bare minimum beginners tutorial and was still getting the error. My program now is a simple readInt()s and add them together.</p>
  
  <p>The code:</p>
  
  <pre><code>import acm.program.*;
  
  public class DBEditor extends ConsoleProgram {
  
  public void main() {
       System.out.println("This adds two integers");
       int a = readInt("First Num: ");
       int b = readInt("Second Num: ");
       int total = a+ b;
       System.out.println("The sum of the numbers is: " + total);
  }
  
  }
  </code></pre>
  
  <p>the error when trying to run as Java Application:</p>
  
  <pre><code>Exception in thread "main" java.lang.UnsatisfiedLinkError: 
  C:\Users\scarr\GCMDLN.DLL: Can't load IA 32-bit .dll on a AMD 64-bit platform
  
      at java.lang.ClassLoader$NativeLibrary.load(Native Method)  
      at java.lang.ClassLoader.loadLibrary0(Unknown Source)   
      at java.lang.ClassLoader.loadLibrary(Unknown Source)    
      at java.lang.Runtime.load0(Unknown Source)  
      at java.lang.System.load(Unknown Source)    
      at acm.program.DOSCommandLine.getCommandLine(Program.java)  
      at acm.program.Program.getCommandLine(Program.java)     
      at acm.program.Program.main(Program.java)
  </code></pre>
  
  <p>How do i fix this? I am fairly rusty, so the more detailed step by step fix, the better. Thanks in advance.</p>