Windows: Create link after upgrade or use fix path for each mayor version
- Dominant language
- Jinja
- Stars
- 168
- Forks
- 77
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 12
Description
The path to the JDK changes after each upgrade. So you have to set all paths again after each upgrade and restart the applications.
Currently I use mklink on Windows to create a unique path for each Java version. But this step has to be done manually after each upgrade. This is very annoying, if the frustration becomes too much for some I fear that the installer will simply be removed and security will suffer.
Can you please just use a fixed path for a Java major version or link from a fixed path to the new version after each upgrade?
I am a developer and use multiple Java versions at the same time, so it doesn't help me if the installer sets the environment variables. The new variables would only be active after a restart of the development environment and I would still have to manually select the correct Java version in each project.
Contributor guide
Research direction
No files, tests, or entry points are named. Start by locating the Windows installer logic that handles Java upgrades, then determine how a stable major-version path or link would interact with multiple installed Java versions; done means upgrades preserve usable fixed paths without requiring manual relinking.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100