Skip to content

Use custom JDK #158

Answered by brichbash
thumannw asked this question in Q&A
Mar 10, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hello,

makes Qodana use that JDK for scanning, correct?

It does not, actually. We should supplement the documentation with that information. Thanks for bringing this up.

If you want to use Corretto 1.8, you might as well use projectJDK property in qodana.yaml.
For example:

version: "1.0"
linter: jetbrains/qodana-jvm:2022.3-eap
projectJDK: corretto-1.8

Here, corretto-1.8 is suggested_sdk_name from https://download-cdn.jetbrains.com/jdk/feed/v1/jdks.json.xz. You can use any other JDKs compatible with linux from the link, and Qodana will download it automatically.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@thumannw
Comment options

@brichbash
Comment options

Answer selected by thumannw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants