Seriously when did IntelliJ become this bad? It us...
# intellij
r
Seriously when did IntelliJ become this bad? It used to be the most stable thing and now even the most basic project is just red everywhere. “Invalidate Caches” is not a solution, it’s a workaround (when it works after doing it 9001 times in a row-). #FixIntelliJ
👀 2
Like I’m trying to make a reproducer for a IntelliJ bug but the reproducer is just one entire error it’s getting old
This should not be an issue. I’m writing a basic
settings.gradle.kts
in a Gradle project stop telling me you can’t find java.lang.Object you’re an IDE running on the JVM ffs
j
Change the jdk
☝️ 1
r
What do you mean? I just invalidates caches and restarted 3 times now, it works. Is IntelliJ known not to work with certain JDKs? I mean I’m not expecting for it to work with JDK16 just like that but I’m on 11
j
I had problems with some specific JDK vendor in X project and in Y project it works. It is really strange, I downloaded the JetBrains one and I set it as JAVA HOME
r
I don’t know why they have their own JDK but it shouldn’t matter which vendor you use in your project… IIRC IntelliJ comes with their JDK and uses it for itself
j
Sometimes that jdk works, other times no, I am just changing from one to another when it happens 😕
c
Sadly it’s true. IntelliJ was the one example of bug free software that I knew. It was so bug free that I reported totally minor bugs. Also Java refactoring work much better than kotlin refactorings.
a
This problem looks like https://youtrack.jetbrains.com/issue/KTIJ-1277. Please check that you have Gradle JDK == Project JDK.
r
I indeed have them use the same JDK, in the same location, which is also my JAVA_HOME
And unless IntelliJ selects a random JDK every time you reimport a project entirely, this cannot be the problem as it disappeared after multiple cache cleanups.