繁体   English   中英

命令提示符 windows 计算机无法识别 Java 文件

[英]Command Prompt windows computer not recognizing Java file

I am having an issue running my.java program from command prompt.I have seen threads such as this and have tried all the suggestions - the Program is called Driver.java and the Path is C:\Users\1must\Desktop\Driver,但是当我运行 javac Driver.java 时,我得到了这个

error: file not found: Driver.java
Usage: javac <options> <source files>
use --help for a list of possible options

我还尝试在 Driver 目录中运行 javac - 它会打印一条很长的错误消息。 我做了 java -version 我正在使用 Java 17. 我做错了什么?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM