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

Server Fails to Start (Kinda) - Mixing of JRE6/JDK7 on Mac OS X

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.0.Beta2
    • None
    • server
    • None
    • Workaround Exists
    • Hide

      If using a Java 6 for installer and IDE launch - also use Java 6 for launching the app server - then all is well.

      Show
      If using a Java 6 for installer and IDE launch - also use Java 6 for launching the app server - then all is well.

      My Mac has both the Apple Java 6 and Oracle Java 7 installed.
      If I take the defaults from the JBDS Installer, allowing it to pick a Java 6 JRE, but then manually adding a server with Java 7 - the IDE fails to see that the server started.

      Installation1.png - a screenshot of the defaults selected by the installer.
      This places the following in my jbdevstudio.ini
      -vm
      /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java

      and in About - Installation Details - Configuration:
      -vm
      /System/Library/Frameworks/JavaVM.framework

      Adding a New Server (EAP 6 or 6.1) - but selecting Java 7 for the Runtime - is where the IDE fails to see that the server has started (runtime_JDK_7_selection.png)

      The result is a failed start (failed_start.png)

        1. Error_Failed_to_start.png
          Error_Failed_to_start.png
          31 kB
        2. failed_start.png
          failed_start.png
          84 kB
        3. Installation1.png
          Installation1.png
          86 kB
        4. runtime_JDK_7_selection.png
          runtime_JDK_7_selection.png
          71 kB
        5. server_state_detectors.png
          server_state_detectors.png
          35 kB

            rob.stryker Rob Stryker (Inactive)
            bsutter@redhat.com Burr Sutter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: