无法使用JRE7运行JavaFx Jar

时间:2012-12-10 14:05:48

标签: javafx-2 java

我试图在引用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)

错误讯息 -

enter image description here

0 个答案:

没有答案