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

DX6965: auto detect installed JDKs #428

Merged
merged 8 commits into from
Nov 10, 2021
Merged

DX6965: auto detect installed JDKs #428

merged 8 commits into from
Nov 10, 2021

Conversation

etsai-stripe
Copy link
Contributor

@etsai-stripe etsai-stripe commented Nov 9, 2021

https://jira.corp.stripe.com/browse/DX-6965

auto detect all installed JDK versions from env.JAVA_HOME, env.PATH, Registry(Window), Common directories.
pick the first JDK that meets the minimum required version in the following order: env.JDK_HOME, env.JAVA_HOME, env.PATH

  • if JDK version defined in stripe.java.home config and meets version req: do nothing
  • if JDK version defined in stripe.java.home config and does not meet version req: prompt user to check installed JDK versions. if detected version meets req, prompt user to update user config

Screen Shot 2021-11-10 at 9 45 11 AM

  • if JDK version not defined in stripe.java.home config: auto detect other installed version. if JDK version meets requirement, prompt user to update user config
    Screen Shot 2021-11-10 at 10 59 58 AM

@etsai-stripe etsai-stripe merged commit 8f7a62b into master Nov 10, 2021
@etsai-stripe etsai-stripe deleted the etsai/dx6965 branch November 10, 2021 19:37
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

Successfully merging this pull request may close these issues.

3 participants