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

Axway Appcelerator Studio support for JDK 1.8.152/153 and JDK 9

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 5.1.0
    • Component/s: Update
    • Labels:
      None
    • Story Points:
      8
    • Sprint:
      2017 Sprint 26 Studio

      Description

      JDK 9(GA) was released on the Sept 21st, 2017.

      When we set JRE 9 with the Appcelerator Studio 4.10.0 RC - Studio is getting hung on the workspace dialog and not allowing the user to perform any action.

      The only solution for this is - to upgrade the underlying Eclipse of the Appcelerator Studio. Studio is using Eclipse 4.4 and which need to be upgraded to the latest Eclipse to support JDK 1.9.

      Standalone eclipse 4.4 is also getting crashed when we install JDK 1.9 and launch it.

      EDIT:

      What is the immediate fix for this?

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

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

      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:
                kkolipaka Kondal Kolipaka (Inactive)
              • Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: