无法获取系统Java编译器。请使用JDK,而不是JRE [英] Cannot get the System Java Compiler. Please use a JDK, not a JRE

查看:255
本文介绍了无法获取系统Java编译器。请使用JDK,而不是JRE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到无法获得系统Java编译器。请使用JDK而不是JRE。当jsp文件位于我的项目中时,我将其部署到Google App Engine。所以我尝试了以下方法来解决问题:


  1. 添加-vm C:\程序文件\Java\jdk1.6.0_43 \bin\javaw.exe添加到我的eclipse.ini中。

  2. 确保JDK位于我的项目构建路径中,而不是jre。 >将C:\ Program Files \Java\jdk1.6.0_43 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\但这些都没有解决问题。我该如何解决这个问题? 当添加 -vm时C:\程序文件\Java\jdk1.6.0_43 \bin\javaw.exe 到eclipse.ini,请确保将 -vm C:\ Program Files \Java\jdk1.6.0_43\bin\javaw.exe 分开行


    I am getting Cannot get the System Java Compiler. Please use a JDK, not a JRE. when jsp file are in the my project and I deploy my it to Google App Engine. So I tried the following to fix the problem:

    1. Add -vm C:\Program Files\Java\jdk1.6.0_43\bin\javaw.exe to my eclipse.ini.
    2. Ensure that the JDK is in my project's build path and not the jre.
    3. Add the C:\Program Files\Java\jdk1.6.0_43\bin\ to the PATH for Environment Variable.

    But none of these solved the problem. How can I solve this?

    解决方案

    When adding -vm C:\Program Files\Java\jdk1.6.0_43\bin\javaw.exe to eclipse.ini, make sure to put -vm and C:\Program Files\Java\jdk1.6.0_43\bin\javaw.exe on separate lines

    这篇关于无法获取系统Java编译器。请使用JDK,而不是JRE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆