javaintellij-idea

Intellij IDEA "Decompiled.class file, bytecodeversion:52.0 (Java 8


I'm new to Java, I started to use it a year ago.

I was using IntelliJ IDEA Community Edition, but I decided to install the full version of it, and then something went wrong. It always stays in kind of "Decompiled" mode and does not allow to edit file or work with it. I reverted back to the Community Edition, but the problem did not disappear.

Can you please help me how to get to normal mode to work? Any help is appreciated.

enter image description here


Solution

  • It looks like you're opening the class files within the left hand navigation window. Find the source code instead (the .java files) and open those instead - then everything should be normal.

    (Look at home05\Solution.java for example, instead of home05\Solution.class...)