Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3275] Titanium Studio and Java 1.7/1.8

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2015-02-02T16:59:05.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator CLI, Studio
LabelsTCSupport
Reportergrebulon
AssigneeMauro Parra-Miranda
Created2015-02-02T16:42:26.000+0000
Updated2016-03-08T07:57:41.000+0000

Description

Titanium Studio requires Java 1.6 which is obsolete. Java 1.7 will also be obsolete soon, or at least unsupported. Need to advance the studio and the entire build system to newer version of Java.

Comments

  1. Mauro Parra-Miranda 2015-02-02

    Ti Studio supports JDK 8. - http://docs.appcelerator.com/titanium/latest/#!/guide/Prerequisites
  2. grebulon 2015-02-03

    This is not true. Titanium Studio doesn't run without java 1.6, at least on OSX. 1. Deleted or move java 1.6 (sudo mv /System/Library/Java/JavaVirtualMachines/1.6.0.jdk /System/Library) 2. Add this to TitaniumStudio.ini: -vm /Library/Java/JavaVirtualMachines/jdk1.7.0_72.jdk/Contents/Home From some reason it creates a wrong path from JAVA_HOME 3. Start it Result: error message: "To open Titanium Studio you need a Java SE 6 runtime." See: https://www.dropbox.com/s/thv0o1tw74z6zbl/titanium_java_6.gif?dl=0
  3. grebulon 2015-02-03

    Moreover, you can build using java 1.7 from command line, using "titanium build -p android..." BUT building from the studio ALWAYS goes to the version 1.6 of the java runtime.
  4. grebulon 2015-02-03

    Another thing - the entire android build script targets java 6. See android/build/common.xml and support/module/android/build.xml. All the tags specify version 1.6

JSON Source