Aitozi commented on a change in pull request #17674:
URL: https://github.com/apache/flink/pull/17674#discussion_r746541721



##########
File path: docs/content/docs/flinkDev/ide_setup.md
##########
@@ -228,6 +228,12 @@ the Project SDK.
 
 When switching back to newer Flink versions you may have to revert this change 
again.
 
+#### Compilation fails with `package sun.misc does not exist`  
+
+This happens if you are using JDK 11 as project SDK and compiling with 
`--release` option target 8 when running test in IDE.
+Which can be solved by disable the `--release` compiler option 
[JEP-247](https://openjdk.java.net/jeps/247). Go to 
+"Preferences" → "Build, Execution, Deployment" → "Compiler" → "Java Compiler" 
and uncheck the "Use '--release' option for cross-compilation (Java 9 and 
later)".

Review comment:
       ok,I will change the chinese doc accordingly.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to