Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 447
Ilya G Avatar asked Jan 25 '16 08:01

Ilya G


2 Answers

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...)

like image 82
Jon Skeet Avatar answered Sep 17 '22 19:09

Jon Skeet


Please look at the "src" folder and not the "out" folder. The out folder in intellij shows the decompile version of the code.

like image 32
Anand Sk Avatar answered Sep 21 '22 19:09

Anand Sk