Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-6020

Appcelerator Studio not recognizing JDK

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Hold
    • Affects Version/s: None
    • Component/s: Studio
    • Labels:
    • Environment:

      Description

      I am attempting to run a HelloWorld app on an Android emulator, but am getting the following error when trying to run:

      [ERROR] : JDK (Java Development Kit) not installed.
      [ERROR] : If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly set.
      [ERROR] : The JDK is required for Titanium and must be manually downloaded and installed from http://appcelerator.com/jdk.
      [ERROR] Application Installer abnormal process termination. Process exit value was 1

      I have set the JAVA_HOME variable correctly in Windows. I have also tried:

      appc ti config java.home "C:\Program Files (x86)\Java\jdk1.8.0_191\bin"

      ...which does return:

      java.home saved

      ...but the app fails to start with the same error message as before.

        Attachments

        1. android_sdk.png
          android_sdk.png
          76 kB
        2. java_home.png
          java_home.png
          31 kB
        3. java.png
          java.png
          34 kB
        4. path_variable.png
          path_variable.png
          73 kB

          Activity

            People

            • Assignee:
              shossain Shak Hossain (Inactive)
              Reporter:
              neerhershtig@gmail.com neerhershtig@gmail.com
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration