Unused import statement

Answered

I have imported project via build.gradlew file. But it seems to be some javaFx libraries don't works properly. I use macOS bigSur 11.0.1 and IntelliJ IDEA  2020.3.

0
15 comments

Double check JDK is configured correctly for the project, see https://stackoverflow.com/a/61180376/104891.

0
Avatar
Permanently deleted user

already double checked.

0

Could you please share the screenshot with the JDK classpath configuration tab? Does it help if you remove the JDK, install the JDK again, add a new JDK in IntelliJ IDEA and configure this new JDK for the project?

0
Avatar
Permanently deleted user

0

JDK classpath tab:

Did you try to reinstall the JDK?

0
Avatar
Permanently deleted user

Firstly i Mac User, secondly yes, i have already reinstalled it

 

0

OS doesn't matter for my question.

Please provide the screenshot of the Project Structure | SDKs, JDK, Classpath tab like shown above.

Does the issue persist if you switch to a different JDK, not Amazon?

0
Avatar
Permanently deleted user

0

Please try File | Invalidate Caches | Invalidate and Restart.

0
Avatar
Permanently deleted user

same situation as before

0

Does the problem occur in 2020.2.4 release from https://www.jetbrains.com/idea/download/previous.html ?

Does it manifest as the red code in the editor for JDK classes only?

Does the project build?

Which other JDK versions have the same problem?

0
Avatar
Permanently deleted user

Yes, project only runs at only JDK classes is red

Intellij 2020.3

0

Please try the previous release and see if it has the same issue.

Delete IDE system directory when the IDE is not running and see if it helps: https://www.jetbrains.com/help/idea/tuning-the-ide.html#system-directory .

0
Avatar
Permanently deleted user

it works now, I have installed 2020.1.4 version. Please could you give me feedback, when problem will resolved wiwth new version. Thank you in advance.

0

Please file a bug at https://youtrack.jetbrains.com/newIssue?project=IDEA with the logs from 2020.3 version (Help | Collect Logs and Diagnostic Data).

0

Please sign in to leave a comment.