-
Bug
-
Resolution: Done
-
Blocker
-
4.1.0.Beta2
Steps to reproduce:
- Install 64-bit Eclipse on Windows
- Run Eclipse with 64-bit Java 7 (by adding -vm ...\jre1.7.0\bin\java.exe parameter to the eclipse.ini)
- Install BrowserSim from JBT update site
- Add a 32-bit JVM to the installed JREs list (Preferences > Java > Installed JREs)
- Try to start BrowserSim
Result:
BrowserSim does not start. The following stack trace is printed to the console:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:263)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:138)
at org.jboss.tools.vpe.browsersim.ui.BrowserSim.initSkin(BrowserSim.java:164)
at org.jboss.tools.vpe.browsersim.ui.BrowserSim.open(BrowserSim.java:143)
at org.jboss.tools.vpe.browsersim.ui.BrowserSim.open(BrowserSim.java:112)
at org.jboss.tools.vpe.browsersim.BrowserSimRunner.main(BrowserSimRunner.java:50)
Workaround:
Run 64-bit Eclipse with Java 6 on Windows