Skip to content
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

(yed) Shortcut points to hardcoded java version #167

Open
jedfrechette opened this issue Nov 30, 2020 · 3 comments
Open

(yed) Shortcut points to hardcoded java version #167

jedfrechette opened this issue Nov 30, 2020 · 3 comments

Comments

@jedfrechette
Copy link

When yed is installed it creates launcher shortcuts that point to the currently installed version of AdoptOpenJDK. When AdoptOpenJDK is later updated these shortcuts break because they point to javaw.exe in a versioned directory that no longer exists.

@majkinetor majkinetor changed the title yed shortcut points to hardcoded java version (yed) Shortcut points to hardcoded java version Nov 30, 2020
@majkinetor
Copy link
Owner

What happens if you just point shortcut to the jar file instead ? Does it work correctly ?

@jedfrechette
Copy link
Author

That seems to work. Currently the shortcut Target is something like:
"C:\Program Files\AdoptOpenJDK\jre-15.0.1.9-hotspot\bin\javaw.exe" -jar "C:\ProgramData\chocolatey\lib\yed\tools\yed-3.20.1\yed.jar"
After stripping the javaw.exe path so that the Target is just:
"C:\ProgramData\chocolatey\lib\yed\tools\yed-3.20.1\yed.jar"
The shortcut still worked in my test.

@majkinetor
Copy link
Owner

OK, then I will see to make it like that.

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

No branches or pull requests

2 participants