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

Functions - Java 17 Support #3245

Closed
apawast opened this issue Jul 14, 2022 · 6 comments · Fixed by #3311
Closed

Functions - Java 17 Support #3245

apawast opened this issue Jul 14, 2022 · 6 comments · Fixed by #3311
Assignees
Milestone

Comments

@apawast
Copy link

apawast commented Jul 14, 2022

  • Functions runtime V3
  • OS (Linux and Windows) all hosting plans

We are releasing Java 17 for preview this semester. Users need to be able to create Functions and select "Java 17 (preview)" in VSCode.

Configuration: set javaVersion to 17 for Windows and LinuxFxVersion to java|17 for Linux

@akaroml
Copy link
Member

akaroml commented Jul 29, 2022

@Flanker32 please help send a PR to enable Java 17 runtime.

@Flanker32
Copy link
Member

Flanker32 commented Jul 29, 2022

@apawast Thanks for your message, currently vscode leverage Get Function App Stacks API to get the Java runtimes, here is the related codes, once the API is updated, java 17 could be shown and create in VSCode extensions.

Another work item is to update the backup stacks, I'll do this once the API is updated, or @apawast could you please provide the sample response so that we could prepare the PR in advanced

@nturinski nturinski added this to the Tracking milestone Aug 4, 2022
@nturinski nturinski added the java label Aug 4, 2022
@fiveisprime
Copy link
Member

@Flanker32 has the stacks API been updated for this yet?

@MadhuraBharadwaj-MSFT
Copy link

@fiveisprime @Flanker32
Here is the PR created by @kaibocai to update the Stacks API for Java 17: Azure/azure-functions-ux#6729

@MadhuraBharadwaj-MSFT
Copy link

@fiveisprime @Flanker32

Currently Java 17 (preview) is updated on StacksAPI with the isHidden flag set to true. Azure/azure-functions-ux#6729.

The final PR with isHidden=false has been merged and will be available for customers to use by September 16: Azure/azure-functions-ux#6855.

Could you please ensure VSCode supports Java 17 (preview) for Azure Functions Runtime v4?

cc @amamounelsayed @apawast @shreyas-gopalakrishna @kaibocai

@alexweininger
Copy link
Member

alexweininger commented Aug 31, 2022

To test a hidden stack, enable the “Azure Functions: Show Hidden Stacks” setting in VS Code.

image

With this setting enabled, “Java 17 (Preview)” appears.

image

@microsoft microsoft locked and limited conversation to collaborators Oct 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants