Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-14986

BrowserSim: cannot run BrowserSim on 64-bit Eclipse on Windows with Java 7

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. Install 64-bit Eclipse on Windows
      2. Run Eclipse with 64-bit Java 7 (by adding -vm ...\jre1.7.0\bin\java.exe parameter to the eclipse.ini)
      3. Install BrowserSim from JBT update site
      4. Add a 32-bit JVM to the installed JREs list (Preferences > Java > Installed JREs)
      5. 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

      Attachments

        Activity

          People

            kmarmaliykov Konstantin Marmalyukov (Inactive)
            yradtsevich Yahor Radtsevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: