真的365会不会黑款-28365-365-365比分网

JCreator集成开发环境:程序可以编译但不能运行,在命令提示符下工作

最近购买了一台新电脑,试图恢复开发Java。我使用的IDE之一,JCreator,已经开始向我发出错误。我在新机器上卸载并重新安装了几次Java,以使一

JCreator集成开发环境:程序可以编译但不能运行,在命令提示符下工作

最近购买了一台新电脑,试图恢复开发Java。我使用的IDE之一,JCreator,已经开始向我发出错误。我在新机器上卸载并重新安装了几次Java,以使一切正常工作。

我有一个语法正确的程序,编译得很好,但每当我尝试从IDE中运行该程序时,它都会显示一条错误消息。它的内容如下:

代码语言:javascript运行复制--------------------Configuration: --------------------

Usage: java [-options] class [args...]

(to execute a class)

or java [-options] -jar jarfile [args...]

(to execute a jar file)

where options include:

-d32 use a 32-bit data model if available

-d64 use a 64-bit data model if available

-server to select the "server" VM

-hotspot is a synonym for the "server" VM [deprecated]

The default VM is server.

-cp

-classpath

A ; separated list of directories, JAR archives,

and ZIP archives to search for class files.

-D=

set a system property

-verbose[:class|gc|jni]

enable verbose output

-version print product version and exit

-version:

require the specified version to run

-showversion print product version and continue

-jre-restrict-search | -no-jre-restrict-search

include/exclude user private JREs in the version search

-? -help print this help message

-X print help on non-standard options

-ea[:...|:]

-enableassertions[:...|:]

enable assertions with specified granularity

-da[:...|:]

-disableassertions[:...|:]

disable assertions with specified granularity

-esa | -enablesystemassertions

enable system assertions

-dsa | -disablesystemassertions

disable system assertions

-agentlib:[=]

load native agent library , e.g. -agentlib:hprof

see also, -agentlib:jdwp=help and -agentlib:hprof=help

-agentpath:[=]

load native agent library by full pathname

-javaagent:[=]

load Java programming language agent, see java.lang.instrument

-splash:

show splash screen with specified image

See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.

Process completed.我假设这仅仅是关于如何挂接运行时环境的说明。

最重要的是,下面的所有运行时设置:

配置>选项> JDK工具>运行应用程序

在我的旧机器上是完全相同的,一切都运行得很好。我知道这肯定是一个JCreator问题,因为我可以从命令行很好地编译所有东西,然后运行它。

javac和java命令可以在命令行中工作,只有这一点在JCreator中不能工作。

对解决这个问题的最佳方法有什么想法吗?

← 上一篇: 电脑上nvidia怎么用
下一篇: 我的两只AirPods声音突然变的特别小,声音跳到最大才有以前的一半的大 →

相关推荐

在 Mac 上的“磁盘工具”中将物理磁盘分区
如何安全快速地下载有番号的资源指南
发货过程的问题及解决办法,防止漏发货、发错货、发货慢
数字电子中的非门
蜂鸟众包兼职怎么样?5方面深入了解蜂鸟众包兼职平台
深圳天视通,怎么样
cpu、socket、core、thread 等术语之间的关系
温布利球场
正在阅读:新手必看!购买单反后10件常用配件推荐新手必看!购买单反后10件常用配件推荐
虚凤假凰的意思
苏亚雷斯夺过几次欧冠冠军
备案审核流程需要多长时间?