Details
-
Bug
-
Status: Resolved
-
P4
-
Resolution: Fixed
-
17
-
b05
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8297619 | 11.0.18 | Dukebot | P4 | Resolved | Fixed | b05 |
Description
From build-dev:
Hello,
This is a followup of
https://mail.openjdk.java.net/pipermail/build-dev/2021-January/029905.html.
In that thread, my build on Windows 10 (not WSL) failed because Windows did
not short path some directories with space in it, such as "Microsoft Visual
Studio" or "Microsoft SDKs", while fixpath.sh expects Windows to do so.
This can be resolved by using fsutil to create short paths for them.
A direct consequence is that configure emits an uninformative message of
"Cannot find a valid Visual Studio installation" because all the paths it
received from fixpath.sh is "".
I believe it would be helpful if we add information on this problem in the
building instructions. Would anyone support this idea and possibly create a
ticket on openjdk bug tracker?
Best,
liangchenblue@gmail.com
Hello,
This is a followup of
https://mail.openjdk.java.net/pipermail/build-dev/2021-January/029905.html.
In that thread, my build on Windows 10 (not WSL) failed because Windows did
not short path some directories with space in it, such as "Microsoft Visual
Studio" or "Microsoft SDKs", while fixpath.sh expects Windows to do so.
This can be resolved by using fsutil to create short paths for them.
A direct consequence is that configure emits an uninformative message of
"Cannot find a valid Visual Studio installation" because all the paths it
received from fixpath.sh is "".
I believe it would be helpful if we add information on this problem in the
building instructions. Would anyone support this idea and possibly create a
ticket on openjdk bug tracker?
Best,
liangchenblue@gmail.com
Attachments
Issue Links
- backported by
-
JDK-8297619 Document need for short paths when building on Windows
-
- Resolved
-