Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-8953

Mac: Studio won't start, hangs on initial dialog

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Update
    • Labels:
      None
    • Environment:
    • Story Points:
      3
    • Sprint:
      2017 Sprint 25 Studio

      Description

      This morning I received the 7.0.0 update dialog when launching appcelerator. The problem is I cannot click on anything in that dialog and the app will no longer start.

      This is a critical issue as I can no longer run studio. I can run from the command line, but this is going to become a problem if I need to debug.

      I have to kill the app with "Force Quit", but it doesn't show as not responding.

      I have no way to close the update dialog and I have no way to interact with the app before the dialog comes up.

      I have also tried rebooting my machine and I still can't close that update dialog and launch appcelerator correctly.

      EDIT:

      What is the immediate fix for this?

      ------------------------------------------------

      I believe this is something to do with the jdk1.8.0_152.jdk and higher.

      Make sure you're running on the JDK 1.8.131 version - Appcelerator studio is having issues with JDK 1.8.152/153 and JDK 9 and we are working on that.

      Here is the direct link for JDK 1.8.131 - https://s3.amazonaws.com/titanium-studio/jdk/jdk-8u131-macosx-x64.dmg

      If you think you also need JDK 1.8.152/153/JDK 9 on your system to support other applications. Here is my suggestion without uninstalling the existing JDK's.

      1. Make sure you're having JDK 1.8.131 on your system. Check this /Library/Java/JavaVirtualMachines/jdk1.8.0_1131.jdk
      2. Open Appcelerator Studio.ini file which you can find here /Applications/Appcelerator\ Studio/AppceleratorStudio.app/Contents/MacOS/AppceleratorStudio.ini
      3. Add below VM argument before the -vmargs and restart the studio. This will force the studio to use jdk1.8.0_131.jdk

      -vm
      /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java
      

      Here is the complete file content look like

      -startup
      ../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
      --launcher.library
      ../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20150204-1316
      --launcher.XXMaxPermSize
      256m
      --launcher.defaultAction
      openFile
      -vm 
      /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java
      -vmargs
      -Xms128m
      -Xmx1024m
      -XX:MaxPermSize=256m
      -Xverify:none
      -Declipse.p2.unsignedPolicy=allow
      -Declipse.log.size.max=10000
      -Declipse.log.backup.max=5
      -Dtitanium.moduleListUrl=http://preview.appcelerator.com/360/modules.json
      -Dfile.encoding=UTF-8
      -Xdock:icon=../Resources/titanium.icns
      -XstartOnFirstThread
      -Dorg.eclipse.swt.internal.carbon.smallFonts
      
      

      We have seen these issues only on Mac Sierra and High Sierra versions

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkolipaka Kondal Kolipaka (Inactive)
                Reporter:
                cthomas Christy Thomas
              • Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: