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

ADD: (Login) Detect openjdk installed with homebrew #169

Open
jasonwbarnett opened this issue Jun 1, 2023 · 3 comments
Open

ADD: (Login) Detect openjdk installed with homebrew #169

jasonwbarnett opened this issue Jun 1, 2023 · 3 comments

Comments

@jasonwbarnett
Copy link

jasonwbarnett commented Jun 1, 2023

I have openjdk installed via homebrew and when I open the UI app it doesn't detect java. Is that an intentional design decision to only detect java installed by the app itself instead of by some other means?

It looks like the paths being detected are hard coded.

@jasonwbarnett jasonwbarnett changed the title does not detect openjdk install with homebrew does not detect openjdk installed with homebrew Jun 1, 2023
@jasonwbarnett
Copy link
Author

jasonwbarnett commented Jun 2, 2023

For transparency I did the following to fix this:

# Remove Java that was installed by Qortal UI
rm -rf ~/jdk-17.0.2

# Add homebrew jdk to PATH
brew link openjdk --force
echo 'export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"' >> ~/.zshrc

@QuickMythril QuickMythril changed the title does not detect openjdk installed with homebrew ADD: (Login) Detect openjdk installed with homebrew Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Qortal UI Todo
Development

No branches or pull requests

2 participants
@jasonwbarnett and others