Run a runnable JAR file in a folder / Directory with a UTF-8 style name

╄→尐↘猪︶ㄣ 提交于 2019-12-24 00:39:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!