title: Tomcat 7 startup error: tcnative.dll is not valid
body: <p>I use;</p>
  
  <p>Windows 7 64 bit,
  JAVA_HOME= JDK1.7 64 bit,
  Tomcat-7 64 bit version</p>
  
  <p>When I start tomcat from commandline it works ok, but when I use it within IntelliJ I get this error;</p>
  
  <pre><code>java.lang.UnsatisfiedLinkError: tcnative-1 (.\tcnative-1.dll is not a valid Win32 application.
  </code></pre>
  
  <p>I also point to an IBM 32bit JDK1.6 from IntelliJ in project settings, but this could not be a problem since this setup works on some other collegae's computers</p>
  
  <p>I have read similar questions here, but none of them offers a solution for my case, any ideas, how can I fix this?</p>