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

Support for newer Java version #5636

Closed
hadkins0617 opened this issue Jun 11, 2024 · 7 comments
Closed

Support for newer Java version #5636

hadkins0617 opened this issue Jun 11, 2024 · 7 comments

Comments

@hadkins0617
Copy link

Summary

My company is requiring the latest version of Java (via Zulu 21) as a result of a security finding. As a result, I get the following error message related to the Apex plugin in the Salesforce Extension Pack - An unsupported Java version was detected. Download and install Java 11 or Java 17 to run the extensions. For more information, see Set Your Java Version.

Describe the solution you'd like

Update the Extension pack to support newer versions of Java.

Describe alternatives you've considered

At this point I have no alternatives in using this specific piece of the Extension pack.

@svc-idee-bot
Copy link
Collaborator

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.

@svc-idee-bot
Copy link
Collaborator

Hello @hadkins0617 👋 It looks like you didn't provide all the required basic info in your issue.

If you haven't already, please provide the following info:
Salesforce Extension Version in VS Code:
Salesforce CLI Version:
OS and version:
VS Code version:
Most recent version of the extensions where this was working:

Here's an example of a set of required info that will pass the validation:
Salesforce Extension Version in VS Code: 60.13.0
Salesforce CLI Version: @salesforce/cli/2.42.6 darwin-arm64 node-v18.18.2
OS and version: MacOS Sonoma 14.5
VS Code version: 1.89.1
Most recent version of the extensions where this was working: 60.11.0

A few more things to check:

  • Make sure you've provided detailed steps to reproduce your issue, as well as all error messages that you see.
    • A repository that clearly demonstrates the bug is ideal.
    • Error messages can be found in the Problems Tab, Output Tab, and from running Developer: Toggle Developer Tools in the command palette.
  • Make sure you've installed the latest version of the Salesforce Extension Pack for VSCode. (docs)
  • Search GitHub for existing related issues.

Thank you!

@diyer
Copy link
Collaborator

diyer commented Jun 11, 2024

@hadkins0617 The team has been working on adding java 21 support and the. good news is that this will be available from our next release. Stay tuned.

@hadkins0617
Copy link
Author

Salesforce Extension Version in VS Code: v60.15.0
Salesforce CLI Version: @salesforce/cli/2.16.8 win32-x64 node-v18.18.2
OS and version: Windows 10 Enterprise 10.0.19045
VS Code version: 1.90.0
Most recent version of the extensions where this was working: n/a

@hadkins0617
Copy link
Author

hadkins0617 commented Jun 11, 2024

@diyer that's awesome news. Any idea when that release will be available? Having that information will help me answer questions from our Information Security team.

@diyer
Copy link
Collaborator

diyer commented Jun 11, 2024

We will be releasing this on Friday of this week. Thanks to @peternhale our awesome engineer adding support for this.

@daphne-sfdc
Copy link
Contributor

Hello @hadkins0617, We have released v61.0.1 of the Salesforce Extensions for VSCode, which includes support for Java 21. Please update your extensions to the latest version and you should be able to use this new feature. 🎉

@diyer diyer closed this as completed Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants