What Is Apache BCEL


What Is Apache BCEL (Byte Code Engineering Library)?

✍: FYIcenter


The Byte Code Engineering Library (Apache Commons BCEL™) is intended to give users a convenient way to analyze, create, and manipulate (binary) Java class files (those ending with .class). Classes are represented by objects which contain all the symbolic information of the given class: methods, fields and byte code instructions, in particular.

Such objects can be read from an existing file, be transformed by a program (e.g. a class loader at run-time) and written to a file again. An even more interesting application is the creation of classes from scratch at run-time. The BCEL may be also useful if you want to learn about the Java Virtual Machine (JVM) and the format of Java .class files.

BCEL contains a byte code verifier named JustIce, which usually gives you much better information about what's wrong with your code than the standard JVM message.

BCEL is already being used successfully in several projects such as compilers, optimizers, obsfuscators, code generators and analysis tools. Unfortunately there hasn't been much development going on over the past few years. Feel free to help out or you might want to have a look into the ASM project at objectweb.

Releases of Apache BCEL (Byte Code Engineering Library):

6.6.0    2022-10-12
6.5.0    2020-07-03
6.0      2016-07-14
5.2      06/03/2006
5.1      07/04/2004

For more information, visit Apache BCEL Website.


Download and Install Apache BCEL Binary Package

Apache BCEL (Byte Code Engineering Library)

Apache BCEL (Byte Code Engineering Library)

⇑⇑ Java Bytecode Tools

2021-07-10, 1290🔥, 0💬