Cocos code IDE 安装使用问题

Cocos code IDE安装完成之后,点击运行。提示A Java Runtime Envioronment(JRE) or Java Development kit(JDk)must be available in order to run Cocos code IDE.NO Java virtual machine

was found after searching the following locations:javaw.exr in your current PATH

是不是没有安装jdk 最好是1.7版本的

或者你安装 jdk 位数 和 下载的 IDE 位数不匹配

这个要什么版本的JDK呀??晕死