-
Notifications
You must be signed in to change notification settings - Fork 78
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
Salesforce CLI docker image comes with unsupported Java version for Apex extension #2571
Comments
Hello @pkozuchowski 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
I'll ask the vscode ext folks. |
According to them, that error is thrown when the JAVA_HOME value isn’t an absolute path. Yours seems to be, though? Maybe what's happening
can you start the container, and try as you can see, I have no idea how all this works. |
I'm not sure if extension team fixed something, but I don't see the issue anymore :) |
Summary
When you open sfdx project in Dev Container using latest salesforce/cli docker image, you will see notification that Java 11 is not supported (even though it should be per docs).
Steps To Reproduce
Expected result
You should be able to work on the project, since per documentation Apex extension requires Java 11 or 17
Actual result
Apex extension reports unsupported Java version
The text was updated successfully, but these errors were encountered: