Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Got warning when compile android mobile project: "It is recommended that the compiler be upgraded."

$
0
0

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?

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>