CHAPTER 1

Introduction

WHEN COREL BOUGHT WordPerfect for almost $200 million from the Novell Corporation in the mid 1990s, nobody would have thought that in a matter of months they would have been giving away the source code free. However, when Corel ported WordPerfect to Java and released it as a beta product, a simple program called Mocha1 could quickly and easily reverse engineer, or decompile, significant portions of Corel’s Office for Java back into source code.

Decompilation is the process that transforms machine-readable code into a human readable format. When an executable, a Java class file, or a DLL is decompiled, you don’t quite get the original format; instead you get a type of pseudo source code, often incomplete and almost always ...

Get Decompiling Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.