java - Eclipse - Cannot load 32-bit SWT libraries on 64-bit JVM -
i'm trying run java project called to-do-o (source - http://www.ohloh.net/p/to-do-o/enlistments) after loaded projects eclipse , run main.java, returns following error:
exception in thread "main" java.lang.unsatisfiedlinkerror: cannot load 32-bit swt libraries on 64-bit jvm
i tried adding -d32 many of solution suggests [see iamge], returns message
error: java instance not support 32-bti jvm. please install desired version.
does have fix??
referring http://eclipse.1072660.n5.nabble.com/swt-libraries-on-64-bit-jvm-td91066.html should either download swt 64 bit, or run jvm -d32 option. if on mac, java 7 or 8, might error message: "this java instance not support 32-bit jvm". of course nothing restricts using old java version:
/system/library/java/javavirtualmachines/1.6.0.jdk/contents/home/bin/java -d32 ...
Comments
Post a Comment