Failed to start JavaFx Jar with JRE7

I am trying to run JavaFx Jar with reference to JRE, but it shows error message and throws this 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)

      

The error message is -

enter image description here

+1
java javafx-2


source to share


No one has answered this question yet

See similar questions:

3
Failed to start Javafx from computer by double clicking the jar file

or similar:

2240
How to create an executable JAR with dependencies using Maven?
1011
How do I add local jar files to a Maven project?
921
Including all jars in a directory in the Java classpath
526
How do I get the path to the running JAR file?
442
Correct way to add external jars (lib / *. Jar) to IntelliJ IDEA project
2
Exception is thrown when using Transform from xml to text file via xslt
1
Java: accessing a file in an embedded jar file
0
java - Can't open .asm file from command line?
0
FileNotFound Exception while reading file from resource directory
0
Failed to create file in Java (IOException)



All Articles
Loading...
X
Show
Funny
Dev
Pics