Sunday, 13 September 2020

Eclipese Decompiler 2019-09 and beyond

 What is Java Decompiler?

It is a computer program which converts the class files in to Java source code, in a user friendly format.

How to install it in Eclipse?

In eclipse we need to go to Help -->  Eclipse Marketplace --> type search "decompiler"

next: select and install Enhanced Class Decompiler 3.1.1 or greater from the list


 Now Make it Work 

This step works in eclipse oxygen and later versions..

Click on "Windows--> Preferences --> General --> Editors --> File Associations"

Change default viewer to .class files, means

"*.class" : "Class Decompiler Viewer" is selected by default.

"*.class without source" : "Class Decompiler Viewer" is selected by default.




  SyntaxError : (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape Solution:...