>> Edit IntelliJ IDEA 12/Info.plist Change JVMVersion From 1.6* to 1.7*
>> open -a /Application/IntelliJ IDEA 12.app
>> see About for infomation of java version
********
At the moment all our products require Apple JDK 1.6 to be installed in order to run on Mac. JDK 1.7 from Oracle is not officially supported yet and has known problems that stop us from using it by default.
To force running under JDK 1.7 edit /Applications/.app/Contents/Info.plist file, change JVMVersion from 1.6* to 1.7* :
JVMVersion 1.7*
- See this answer for the known problems with JDK 1.7.
- IDEA_JDK environment variable can be used to override the selected JDK, you may need to run the product from the Terminal so that it sees your environment variables (Mac OS limitation): open -a /Applications/
.app/ . - Application About dialog will show the actual JDK version.
Infomation from : http://www.sencha.com/forum/showthread.php?233071-Sencha-Touch-2.x-with-Phonegap-Cordova-2.0