Skip to content

Double-clicking file with non-ASCII path can fail to open on Windows #2230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
neilccbrown opened this issue May 9, 2023 · 0 comments
Open

Comments

@neilccbrown
Copy link
Collaborator

It seems there is a long-standing problem with the Java launcher and non-ASCII paths on Windows. See this open Java bug: https://bugs.openjdk.org/browse/JDK-8124977 The result is that with BlueJ, if you double-click a package.bluej file in a directory with non-ASCII characters, it can fail to load, usually with a message about being unable to extract the archive.

This answer on Stack Overflow suggests a work-around involving JNA but it's quite hacky as it involves picking through the raw command line to deduce which bits are the actual arguments: https://stackoverflow.com/a/70573213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant