unsatisfiedlinkerror - webots - Can't load IA 32-bit .dll on a AMD 64-bit platform

I want to write Java-controllers for a webots Simulation. But whenever I try to build the Controller I get the error: "Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help. java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Webots\lib\JavaController.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform" . webots requires a 32-bit jdk, which I have installed. I also tried to change the java-command in the preferences from javaw.exe to java -d32. It didn´t help. I also gener...Read more