Skip to content

IntelliJ should pick up default SDK not any #12030

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

Closed
akosyakov opened this issue Aug 10, 2022 · 1 comment · Fixed by #12163
Closed

IntelliJ should pick up default SDK not any #12030

akosyakov opened this issue Aug 10, 2022 · 1 comment · Fixed by #12163
Assignees
Labels

Comments

@akosyakov
Copy link
Member

akosyakov commented Aug 10, 2022

Bug description

We added Java 17 to the workspace image to fix issues with VS Code Java extensions. But it breaks IntelliJ, since it picks up 17 instead of 11 for projects. We should make sure that we use a version configured in JAVA_HOME as default, not any.

Steps to reproduce

  • Start a workspace with IntelliJ on project with workspace full image.
  • Check project and module SDKs.
  • It should be 11, not 17.

Workspace affected

No response

Expected behavior

Default JDK should be set be default, not any.

Example repository

No response

Anything else?

No response

@akosyakov
Copy link
Member Author

Code pointer:

/**
* It is a workaround for https://youtrack.jetbrains.com/issue/GTW-88
*/
private fun configureSdks() {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
2 participants