【问题标题】:Failed to start the following executable,无法启动以下可执行文件,
【发布时间】:2014-01-16 04:55:46
【问题描述】:

无法启动以下可执行文件,\bin\javac.exe -g -classpath C:\Users\user\Documents -d C:\Users\user\Documents C:\Users\user\Documents\Kwame.java如需帮助,请参考http://www.jcreator.com/installation.htm

出于某种原因,无论我编写什么代码,它都会继续这样做,我不知道为什么。

import java.io.*; 
import java.util.*;

public class KyeretwieTestProgram1113 {
    public KyeretwieTestProgram1113() {
        Scanner kbInput = new Scanner(System.in)
        System.out.println(Enter the high temperature on day 1:);
        double d = kbInput.nextDouble();
        System.out.println(Enter the high temperature on day 2:);
        double da = kbInput.nextDouble();
        System.out.println(Enter the high temperature on day 3:);
        double a = kbInput.nextDouble();
        System.out.println(Enter the high temperature on day 4:);
        double day = kbInput.nextDouble();
        System.out.println(Enter the high temperature on day 5:);
        double y = kbInput.nextDouble();
    }
}

我该如何解决这个问题?

【问题讨论】:

  • 看起来您安装了错误的 JCreator。我认为你应该参考jcreator.com/installation.htm,就像它说的那样。 Stack Overflow 上的人无法真正为您检查您的安装。我们的权力是有限度的。

标签: java compiler-construction compiler-errors jcreator


【解决方案1】:

显示的错误与代码无关,而是与 Java 编译器或 javac 有关。确保您已安装 JDK,并且可以在此处输入代码之前运行一个简单的“Hello world”程序。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-06-25
    • 2019-12-04
    • 2016-02-29
    • 1970-01-01
    • 1970-01-01
    • 2021-05-25
    • 2016-06-07
    相关资源
    最近更新 更多