我正在尝试参考 JRE 运行 JavaFx Jar,但它显示错误消息并抛出此 IOException -
C:\Users\JavaUser4\Desktop\New folder (2)>"C:\Program Files\Java\jre7\bin\java.e
xe" -jar ABCTemp.jar
java.io.IOException: The filename, directory name, or volume label syntax is inc
orrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.Win32FileSystem.canonicalize(Unknown Source)
at java.io.File.getCanonicalPath(Unknown Source)
at java.io.File.getCanonicalFile(Unknown Source)
at com.javafx.main.Main.fileToURL(Main.java:97)
at com.javafx.main.Main.findLaunchMethod(Main.java:152)
at com.javafx.main.Main.findLaunchMethodInJar(Main.java:210)
at com.javafx.main.Main.findLaunchMethod(Main.java:712)
at com.javafx.main.Main.main(Main.java:803)
java.io.IOException: The filename, directory name, or volume label syntax is inc
orrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.Win32FileSystem.canonicalize(Unknown Source)
at java.io.File.getCanonicalPath(Unknown Source)
at java.io.File.getCanonicalFile(Unknown Source)
at com.javafx.main.Main.fileToURL(Main.java:97)
at com.javafx.main.Main.findLaunchMethod(Main.java:152)
at com.javafx.main.Main.findLaunchMethodInJar(Main.java:210)
at com.javafx.main.Main.findLaunchMethod(Main.java:726)
at com.javafx.main.Main.main(Main.java:803)
错误信息 -