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

BrowserSim does not launch on Java 6 32-bit JVM Mac OS X when Java 7 or Java 5 installed

XMLWordPrintable

      Version: 7.0.0.CR1
      Build id: CR1-v20130702-0605-B354
      Build date: 20130702-0605

      On Mac OS X with Java 6 32-bit JVM - Browser fails to load
      http://screencast.com/t/iYnsp7ekB1Ha

      Steps to reproduce:

      1. You need to have Java 6 and Java 7 installed on your Mac
      2. Install a 32-bit version of Eclipse and run it with Java 6
      3. Go to Preferences > Java > Installed JREs and remove all JREs except Java 7
      4. Try to run BrowserSim

      Actual result:
      BrowserSim does not start. No messages shown.

      Update:
      This happens because Oracle Java 7 does not support the 32-bit mode, so it cannot run 32-bit SWT libraries, which are used by BrowserSim.

      Update 2 (reopening):
      On step #1 you need to have Java 5 installed. This will lead to NPE when opening BrowserSim preferences

      Workaround (if Java 7 installed):

      1. Add (do not remove) Java 6 from Preferences > Java > Installed JREs
      2. Go to Preferences > JBoss Tools > BrowserSim/CordovaSim and select Java 6 to run BrowserSim

      Workaround (if Java 5 installed):
      Remove Java 5 from the list of installed JREs

            kmarmaliykov Konstantin Marmalyukov (Inactive)
            bsutter@redhat.com Burr Sutter
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: