这是nppexec终端上显示的内容:
CD: C:\Phantom's Work\PROGRAMMING\PROGRAMS\NppProgs\Java
Current directory: C:\Phantom's Work\PROGRAMMING\PROGRAMS\NppProgs\Java
javac $wierd_pattern.java
Process started (PID=9972) >>>
<<< Process finished (PID=9972). (Exit code 0)
DIR: *
$pattern.java
$pattern2.java
$ptrn01.java
$ptrn02.java
$ptrn03.java
$ptrn2.java
$ptrn3.java
$ptrn4.java
$question.java
$quiz1.java
$wierd_pattern.class
$wierd_pattern.java
Hello.java
pattern_g.java
move \Y "$wierd_pattern.class" "C:\Phantom's Work\PROGRAMMING\PROGRAMS\NppProgs\$OUT-EXEC\JAVA\"
; about to start a child process: "move \Y "$wierd_pattern.class" "C:\Phantom's Work\PROGRAMMING\PROGRAMS\NppProgs\$OUT-EXEC\JAVA\""
CreateProcess() failed with error code 2:
The system cannot find the file specified.
CD: C:\Phantom's Work\PROGRAMMING\PROGRAMS\NppProgs\$OUT-EXEC\JAVA
Current directory: C:\Phantom's Work\PROGRAMMING\PROGRAMS\NppProgs\$OUT-EXEC\JAVA
java $wierd_pattern
Process started (PID=7300) >>>
Error: Could not find or load main class $wierd_pattern
Caused by: java.lang.ClassNotFoundException: $wierd_pattern
<<< Process finished (PID=7300). (Exit code 1)
================ READY ================
但是,该dir
命令清楚地显示$wierd_pattern.class
. 然而系统找不到指定的文件。
有人可以帮我解决这个问题吗?