Strange Warnings when running Java program in IntelliJ. How to remove?
Answered
Hi,
I have been using Inteillj and developing since several years. Recently I moved my environment to a new Mac computer. However, when I now run my applications inside IntelliJ I get some very odd console messages when running my application.
Does not tell me anything but is making development difficult.
What are these messages and how to remove them from the console?

Please sign in to leave a comment.
Hello,
Do you face them in every project? Do you face them if you run from command line outside IDE?
In every project on the new computer. Worked well on the old computer.
Not tried with command line outside of IDE yet but that also worked well on the old computer.
Tried on IntelliJ 2021.2.4 and 2022.3. Same problem
Tried with different SDK JDK 1.8 instead of 17.0.5. Same problem
Issue seems to always come when switching between IntelliJ program window and the program window. Somehow linked to the handling of Windows in MacOS?
Any idea of what it is? Any possibility to disable the messages since it does not seem to affect my program?
Am I got you right that warnings are shown only when you switch focus from output to your application? Is it running in separate window or command line?
Could you please try to run project from command line. It will help to investigate the issue.
Was your old computer MacOS?
Difficult to tell when warnings appear. Get the impression that this increases when changing window. However, already starting the program gives the same problem.
Running from command Line (creating an artifact) gives same message.
Old computer MacOS Monterey. New computer MacOS Ventura.
It looks like MacOS issue. Similar case is reported here: https://stackoverflow.com/questions/74609260/r-warnings-errors-in-a-fresh-install
Wow, this really helped!
I really appreciate your assistance on this one, several days of struggle has been saved.
You are welcome. Feel free to contact us if you need any assistance.