DEV Community

Discussion on: IntelliJ doesn't open .class files, unlike VSCode???

Collapse
 
calinbaenen profile image
Calin Baenen

I didn't change my JDK in between the time I was using VSCode and IntelliJ.
It just says no definition exists for String, Object, JFrame, etc...

Collapse
 
c7tt8nt2p profile image
c7tt8nt2p

crtl+alt+shift+s to open a project structure window and see the project SDK which version of JDK are you using, is it the valid one? or try to change it to a new one (there is an option to download a new JDK in the same window)

Thread Thread
 
calinbaenen profile image
Calin Baenen

All I did was install IntelliJ, and open my .java files with it. Nothing else.

I'm using JDK 15.0.1.

Thread Thread
 
gklijs profile image
Gerard Klijs

Yes, so you need to configure it. When you open as a project, by opening the pom.xml for example, it will ask for it. I'm not sure IntelliJ is objectively better. I do prefer it, but tbh I didn't realy try any other IDE. If VSCODE works for you why not stick to it?

Thread Thread
 
calinbaenen profile image
Calin Baenen

Because people say IntelliJ is better, and I was recommended it because it can "do things VSCode can't".

But, for me, it's the worst tool I've ever used.
It has poor quality, poor indentation, it's way more of a hassle to use than VSCode.
Why would ANYONE want to use this POS tool!?
What about IntelliJ is attractive??