Java xxx未标识为内部或外部命令

Java xxx未标识为内部或外部命令,java,Java,Sry再次提出这个问题,因为它最常见的解决方案是包括路径。。我正在尝试实现一个类,在实现之后,它将显示以下内容 java -classpath java-getopt-1.0.8.jar;3dm-0.1.0.jar;xerces.jar tdm. tool.TreeDiffMerge 3DM XML Tree Differencing and Merging Tool version 0.1.0 build 0.1.0-2006.02.07. 12.26.44 Usage: 3dm [optio

Sry再次提出这个问题,因为它最常见的解决方案是包括路径。。我正在尝试实现一个类,在实现之后,它将显示以下内容

java -classpath java-getopt-1.0.8.jar;3dm-0.1.0.jar;xerces.jar tdm.
tool.TreeDiffMerge
3DM XML Tree Differencing and Merging Tool version 0.1.0 build 0.1.0-2006.02.07.
12.26.44
Usage: 3dm [options] {-m base branch1 branch2|-d base branch1 |-p base patch} [o
utfile]
Use the -m (or --merge) option to merge the files base, branch1 and branch2
Use the -d (or --diff) option to diff the files base and branch1
Use the -p (or --patch) option to patch the file base with the file patch
The options are:
-e, --editlog[=logfile]
   Log edit operations to logfile, default edit.log
-c, --copythreshold=bytes
   Threshold for considering a duplicate structure to be a copy. Default value i
s 128 bytes

现在没有创建exe..你知道pblm可能是什么吗。。或者你能提出解决这个问题的方法吗

输出似乎与您的问题标题无关

从消息中可以清楚地看出,您没有正确地调用该工具,需要为该工具提供命令行参数,以便告诉它该做什么。例如:

java -classpath java-getopt-1.0.8.jar;3dm-0.1.0.jar;xerces.jar tdm.tool.TreeDiffMerge -p base patch
如果已经实现了自己的主类并希望调用它,则需要在命令行上提供类名,而不是
tdm.tool.TreeDiffMerge
。(如果您希望创建一个
exe
,希望您的类能够这样做,因为Java与创建exe完全无关。)

1。)“实现一个类”是什么意思?你是说“执行一个类”吗?2.)主题标题中的错误消息与您的问题有什么关系?你再也不提那个消息了。3.)为什么希望创建exe?4)你在这里想要达到什么目标?