Skip to content

The unnamed module with Qodana JVM (Java 17 and --add-exports) #129

Answered by brichbash
Cazayus asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

  1. With the current approach you indeed can't download JDK 14, as it is not available on our CDN (you can't download it in IntelliJ IDEA as well). We're currently working on making JDK configuration easier in Qodana, and after it's implemented, we'll document it. Thank you for bringing this up.
  2. Could you please try creating .idea/compiler.xml with the following content in your project root (you can also copy it from your machine if you have your project configured in IntelliJ IDEA):
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="JavacSettings">
    <option name="ADDITIONAL_OPTIONS_STRING" value="--add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-ex…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@brichbash
Comment options

Comment options

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

@brichbash
Comment options

Answer selected by Cazayus
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