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
doesn't work on macOS #32
Comments
@bsideup is your |
@ianrobrien yeah, I think that's the reason. IMO JAVA_HOME should be mentioned next to "download OpenJDK" with something like "and make sure your JAVA_HOME is set" |
^ I agree. Especially considering you don't actually need OpenJDK. The error message is kind of pointing fingers when it really doesn't need to be. |
OpenJDK is one possible implementation for the JDK. Runs fine on Oracle. The d/l link should definitely not point to the OpenJDK d/l page, when running on MacOS (as long as OpenJDK binaries for Mac are unavailable at least). Probably default to the Oracle one in that case. |
I have put a
For this test:
This way I'm sure this time the JAVA_HOME variable is set. Now I create a new file, change the language to java an then pops this stacktrace:
|
@jglete that's a separate issue, see #38. Currently the Java Language Server only supports opening existing Maven-based projects and to a lesser degree, simple Eclipse projects with the Java nature. As for the original problem, I consider it fixed along #37. The error message is now a bit more explicit: |
Java 8 is installed, but can't be recognized. Links to RedHat's OpenJDK, but it has no macOS version as well.
The text was updated successfully, but these errors were encountered: