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

Update install documentation especially for Mac #40

Open
bryantaustin13 opened this issue Jun 7, 2024 · 0 comments
Open

Update install documentation especially for Mac #40

bryantaustin13 opened this issue Jun 7, 2024 · 0 comments

Comments

@bryantaustin13
Copy link

From Zulip:
Last week I was having a hard time setting up the VSCode extension on a Mac. In my environment I use asdf to manage which versions of s/w packages I have, including Java. It wasn't obvious how to setup my environment to get VSCode to find my asdf version of Java. I would see errors like this when running the CQL -> Execute:

Starting client failed
Launching server using command /undefined/bin/java failed.

So I could tell it wasn't finding Java so I started trying to set JAVA_HOME, JDK_HOME, etc. but couldn't figure out the "secret sauce" until I got some help. (I suppose this isn't really a problem with the CQL Extension but it turned out to be a barrier for me)

It turned out that I had to add this to my ~/.zshrc (similar asdf scripts exist for other shells)

~/.asdf/plugins/java/set-java-home.zsh

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

No branches or pull requests

1 participant