Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: clean up of formatting and removal of outdated macros
Contents

Table of Contents
maxLevel5
minLevel2

Overview

The following will explain where all the software is located on a typical Titanium system and how to configure the associated environment variables for each Operating System.

Configuration

macOS

...

Software Locations

 

{multi-excerpt:name=}
Wiki Markup
Multiexcerpt
MultiExcerptNameprogram-locations-osx

The

paths

shown

are

the

locations

on

our

running

systems.

As

these

configurations

are

tried

and

tested

with

Titanium,

try

to

keep

yours

as

similar

as

possible

to

this.

|| Package || Environment Variable || Local Path || Notes || | Android SDK Home | ANDROID_SDK | {{\

Package

Environment Variable

Local Path

Notes

Android SDK Home

ANDROID_SDK

~/android-sdk

}} | Location of {{android}} (Android SDK Manager) and {{ddms}} (debug tool) executables | | Android Tools | PATH | {{

Location of android (Android SDK Manager) and ddms (debug tool) executables

Android Tools

PATH

~/android-sdk/tools

}} | Location of {{android}} (Android SDK Manager) and {{ddms}} (debug tool) executables | | Android Platform Tools | PATH | {{

Location of android (Android SDK Manager) and ddms (debug tool) executables

Android Platform Tools

PATH

~/android-sdk/platform-tools

}} | Location of {{adb}} (Android Debug Bridge) executable | | git | N/A | {{/usr/bin}} | Location of git executable | | npm | N/A | {{

Location of adb (Android Debug Bridge) executable

git

N/A

/usr/bin

Location of git executable

npm

N/A

/usr/local/bin

}} |

Location

of

npm

executable

| |

Oracle

JDK

|

N/A

| {{

/usr/bin

}} |

Location

of

Java

executables,

{{java}} and {{javac}} (automatically symlinked) | | python | N/A | {{

 java and javac (automatically symlinked)

python

N/A

/usr/bin

}} |

Location

of

python

executable

| |

Titanium

SDK

Home

|

N/A

| {{\

~/Library/Application

Support/Titanium

}} |

Location

of

Mobile

and

Desktop

SDKs

(

containing {{mobilesdk}}, {{modules}}, {{runtime}} & {{sdk}}

containing mobilesdkmodulesruntime & sdkdirectories),

automatically

managed

by

Appcelerator

Studio

| |

Appcelerator

Studio

|

N/A

| {{

/Applications/Appcelerator

Studio

}} |

Location

of

Appcelerator

Studio

| |

Appcelerator

Studio

Settings

|

N/A

| {{\

~/.eclipse

}} | | | Appcelerator Studio Workspace |

 

Appcelerator Studio Workspace

N/A

| {{

~/Documents/Appcelerator_Studio_Workspace

}} |

Location

of

Titanium

projects

| {multi-excerpt}

 

Windows

Windows Software

...

Locations 

 

{multi-excerpt:name=}
Wiki Markup
Multiexcerpt
MultiExcerptNameprogram-locations-windows

The

paths

shown

are

the

locations

on

our

running

systems.

As

these

configurations

are

tried

and

tested

with

Titanium,

try

to

keep

yours

as

similar

as

possible

to

this.

{note} Paths to these tools and project files should not contain spaces or special characters, such as dollar signs, ampersands, etc. Some of the development tools do not support having spaces in the path, such as scons if you want to build the Titainum SDK from source. {note} || Package || Environment Variable || Local Path || Notes || | Android SDK Home | N/A | {{

Note

Paths to these tools and project files should not contain spaces or special characters, such as dollar signs, ampersands, etc. Some of the development tools do not support having spaces in the path, such as scons if you want to build the Titainum SDK from source.

Package

Environment Variable

Local Path

Notes

Android SDK Home

N/A

C:\android-sdk

}} | Location of {{android}} (Android SDK Manager) and {{ddms}} (debug tool) executables | | Android Tools | PATH | {{

Location of android (Android SDK Manager) and ddms (debug tool) executables

Android Tools

PATH

C:\android-sdk\tools

}} | Location of {{android}} (Android SDK Manager) and {{ddms}} (debug tool) executables | | Android Platform Tools | PATH | {{

Location of android (Android SDK Manager) and ddms (debug tool) executables

Android Platform Tools

PATH

C:\android-sdk\platform-tools

}} | Location of {{adb}} (Android Debug Bridge) executable | | git | PATH | {{

Location of adb (Android Debug Bridge) executable

git

PATH

%PROGRAMFILES%\Git\bin

}} |

Location

of

git

executable

(default

installation

path

by

Studio)

| | npm | PATH | {{

npm

PATH

%PROGRAMFILES%\nodejs

}} |

Location

of

npm

executable

(default

installation

path

by

Studio)

| |

Oracle

JDK

(Binaries)

| PATH | {{

PATH

%PROGRAMFILES%\Java\jdk<version>\bin

}} |

Location

of

Java

executables,

{{java}} and {{javac}} (default installation path by Studio) | | Oracle JDK (Home) | JAVA_HOME | {{

 java and javac (default installation path by Studio)

Oracle JDK (Home)

JAVA_HOME

%PROGRAMFILES%\Java\jdk<version>

}} |

Location

of

the

JDK

(default

installation

path

by

Studio)

| | python | PATH | {{

python

PATH

C:\Python27

}} |

Location

of

python

executable

| |

Titanium

SDK

Home

|

N/A

| {{

%PROGRAMDATA%\Titanium

}} |

Location

of

Mobile

and

Desktop

SDKs

(

containing {{mobilesdk}}, {{modules}}, {{runtime}} & {{sdk}} directories), automatically managed by Appcelerator Studio | | Appcelerator Studio | N/A | {{

containing mobilesdkmodulesruntimesdk directories), automatically managed by Appcelerator Studio

Appcelerator Studio

N/A

%USERPROFILE%\Roaming\Appcelerator\Appcelerator

Studio

}} |

Location

of

Appcelerator

Studio

| |

Appcelerator

Studio

Settings

|

N/A

| {{

%USERPROFILE%\.eclipse

}} | | | Appcelerator Studio Workspace |

 

Appcelerator Studio Workspace

N/A

| {{

%USERPROFILE%\Documents\Appcelerator_Studio_Workspace

}} |

Location

of

Titanium

projects

|

Be

aware

of

the

following

environment

variables

that

exist

by

default

on

Windows

7

systems,

which

can

be

used

when

configuring

the

environment

variables

above:

{section} {column:width=70%} || Environment Variable || Value || Notes || | {{%SystemRoot%}} | | C:\Windows | | {{%PROGRAMFILES%}} | {{

Environment Variable

Value

Notes

%SystemRoot%

 

C:\Windows

%PROGRAMFILES%

C:\Program

Files

(x86)

}} |

Windows

64-bit

systems | | {{%PROGRAMFILES%}} | {{

systems

%PROGRAMFILES%

C:\Program

Files

}} |

Windows

32-bit

systems | | {{%PROGRAMDATA%}} | {{

systems

%PROGRAMDATA%

C:\ProgramData

\}} | | | {{%USERPROFILE%}} | | Path to the current user profile | {column} {column:width=30%} {column} {section} {multi-excerpt}
  
Wiki Markup
{multi-excerpt:name=

 

%USERPROFILE%

 

Path to the current user profile

} {note} Bear in mind the following caveats: * All Windows systems must have the following paths *at the beginning* of their {{PATH}} environment variable to function properly: {code:lang=none|Windows System PATH environment variable}
Multiexcerpt
MultiExcerptNamewindows-install-caveats
Note

Bear in mind the following caveats:

  • All Windows systems must have the following paths at the beginning of their PATH environment variable to function properly:

    Code Block
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
{code} * Installing Appcelerator Studio to a common system location, such as {{%PROGRAMFILES%}}, is not currently recommended, due to [Eclipse Bug 249133|https://bugs.eclipse.org/bugs/show_bug.cgi?id=249133] and the complications it causes with updates. {note} {multi-excerpt}
 
  • Installing Appcelerator Studio to a common system location, such as %PROGRAMFILES%, is not currently recommended, due to Eclipse Bug 249133 and the complications it causes with updates.

Configuring Environment Variables on Windows

Configure system variables using the Control Panel

...

  • Use the New or Edit buttons at the bottom of the dialog to add or change system variables.

Ubuntu

...

Software Locations

 

{multi-excerpt:name=}
Wiki Markup
Multiexcerpt
MultiExcerptNameprogram-locations-ubuntu

Below

is

a

summary

of

where

Titanium-related

components

are

typically

stored

and

the

system

variables

that

should

be

configured.

{note} The paths shown are the locations on our running systems. As these configurations are tried and tested with Titanium, try to keep yours as similar as possible to this. {note} || Package || Environment Variable || Local Path || Notes || | Android SDK Home | ANDROID_SDK | {{

 
Note

The paths shown are the locations on our running systems. As these configurations are tried and tested with Titanium, try to keep yours as similar as possible to this.

Package

Environment Variable

Local Path

Notes

Android SDK Home

ANDROID_SDK

/opt/android-sdk-linux_86

}} | Location of {{android}} (Android SDK Manager) and {{ddms}} (debug tool) executables | | Android Tools | PATH | {{

Location of android (Android SDK Manager) and ddms (debug tool) executables

Android Tools

PATH

/opt/android-sdk-linux_86/tools

}} | Location of {{android}} (Android SDK Manager) and {{ddms}} (debug tool) executables | | Android Platform Tools | PATH | {{

Location of android (Android SDK Manager) and ddms (debug tool) executables

Android Platform Tools

PATH

/opt/android-sdk-linux_86/platform-tools

}} | Location of {{adb}} (Android Debug Bridge) executable | | git | N/A | {{/usr/bin}} | Location of git executable | | npm | N/A | {{

Location of adb (Android Debug Bridge) executable

git

N/A

/usr/bin

Location of git executable

npm

N/A

/usr/local/bin

}} |

Location

of

npm

executable

| |

Oracle

JDK

|

N/A

| {{

/usr/bin

}} |

Location

of

Java

executables,

{{java}} and {{javac}} (symlinked using {{

 java and javac (symlinked using update-alternatives

}}) | | python |

)

python

N/A

| {{

/usr/bin

}} |

Location

of

python

executable

(automatically

symlinked)

| |

Appcelerator

Studio

|

N/A

| {{

~/Titanium_Studio

}} |

Location

of

Appcelerator

Studio

| |

Titanium

SDK

Home

|

N/A

| {{\

~/.titanium

}} |

Location

of

Mobile

and

Desktop

SDKs

(

containing {{mobilesdk}}, {{modules}}, {{runtime}} & {{sdk}}

containing mobilesdkmodulesruntime & sdkdirectories),

automatically

managed

by

Appcelerator

Studio

| |

Appcelerator

Studio

Settings

|

N/A

| {{\

~/.eclipse

}} | | | Appcelerator Studio Workspace |

 

Appcelerator Studio Workspace

N/A

| {{

~/Documents/Appcelerator_Studio_Workspace

}} |

Location

of

Titanium

projects

| {multi-excerpt}