When compile my android mobile project, it throws the following error:
[ERROR] : warning: java/lang/Object.class(java/lang:Object.class): major version 51 is newer than 50, the highest major version supported by this compiler. [ERROR] : It is recommended that the compiler be upgraded.I have already downloaded jdk 1.8 and set $JAVA_HOME as
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
However, according to the console log, Titanium Studio still using the jdk 1.6 to compile my project:
[INFO] : Building Java source files: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk_Backup/Contents/Home/bin/javac ....How to make Ti Studio compile my project using jdk 1.8?