Error: "Cannot be run from folder contains non-ASCII characters in path"
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Tested on Apache NetBeans 14
Tested on Apache NetBeans 13
### What happened
NB not started if path contains non-ASCII characters, for example:
C:\Users\Андрей\Documents\NetBeansProjects\helper-util\application\target\helper-util-app-1.0-SNAPSHOT\helperutil\bin
### How to reproduce
1. Create new empty Platform Application
2. Build it by maven
3. Run from bin directory with non-ASCII characters
4. Get message from loader about bad path


### Did this work correctly in an earlier version?
Apache NetBeans 12.3 or earlier
### Operating System
Windows 10 21H1
### JDK
17.0.1; Java HotSpot(TM) 64-Bit Server VM 17.0.1+12-LTS-39
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
Contributor guide
Research direction
Reproduce the failure on Windows 10 by building a Platform Application with Maven and running it from its bin directory under a path containing non-ASCII characters. Start by tracing the loader message shown in the report and compare behavior with NetBeans 12.3 or earlier. Done means the application starts successfully from such a path without the bad-path error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100