如何在jcreator中设置jdk路径 [英] How to set the jdk path in jcreator

查看:175
本文介绍了如何在jcreator中设置jdk路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 C:\ jdk1.7.0目录中安装了 jdk 1.7 ,并在<$ c中安装了 JCreator $ c> C:\Program Files目录。我在JCreator中设置了正确的jdk路径的路径。但是当我尝试执行一个java程序时,我已经显示了以下消息:

I have installed jdk 1.7 in C:\jdk1.7.0 directory and JCreator in C:\Program Files directory. I set the path of correct jdk path in JCreator. But when I try to execute a java program in this I have shown the following messages:

          --------------------Configuration: <Default>--------------------
Error : Invalid path, "C:\Program Files\Java\jdk1.7.0_04\bin\javac.exe" -g -classpath C:\Users\USER\Documents -d C:\Users\USER\Documents C:\Users\USER\Documents\A.java 

背后的原因是什么这个 ?请详细告诉我,并解决这个问题。

What is the reason behind this ? Please tell me in a detail and also way to solve this problem .

推荐答案

我通过在配置中删除​​以前的Java配置文件解决了这个问题 - > 选项 - > JDK配置文件

I solved this issues by deleting the previous Java profile in Configure->Options->JDK Profiles.

删除一切都在其中,并创建一个新的新的配置文件。

Delete everything in it and create a new fresh profile.

这篇关于如何在jcreator中设置jdk路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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