简体   繁体   中英

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

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM