当我执行Java文件 test.java 时,发生以下错误:
C:\Users\name\Desktop>javac test.java
test.java:1: error: error while writing test: test.class (The system cannot find the file specified)
class test{
^
1 error
也看一下代码。
class test{
public static void main(String[] Args){
System.out.println("Hello ");
}
}