问题
When I create a jar file in ordinary way like this: C:/myFolder/program.jar It could be run without any problem, but when I create abnormal name (UTF-8 languages) for folder like this: C:/پوشه/program.jar program cannot run and OS (Windows for me) says this: Title: Java Virtual Machine Launcher Context: Error: Unable to access jarFile C:/پوشه/program.jar
Is it possible to solve this problem?
回答1:
This problem could be solved by this solution: Error: Unable to access jarfile. Encoding issue
However, exe files don't need these additional settings and those files will be execute in any case.
来源:https://stackoverflow.com/questions/34660195/run-a-runnable-jar-file-in-a-folder-directory-with-a-utf-8-style-name