Java Bytecode Manipulation

Open-source Java projects categorized as Bytecode Manipulation

Top 10 Java Bytecode Manipulation Projects

  • bytecode-viewer

    A Java 8+ Jar & Android APK Reverse Engineering Suite (Decompiler, Editor, Debugger & More)

    Project mention: Java 泛型程式設計的注意事項 | | 2023-01-02
  • Byte Buddy

    Runtime code generation for the Java virtual machine.

    Project mention: Any news on the Classfile API? | /r/java | 2022-12-23

    Just a drive-by comment: ByteBuddy is worth a look It is built on top of ASM.

  • Sonar

    Write Clean Java Code. Always.. Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • Recaf

    The modern Java bytecode editor

    Project mention: what is the easiest way to decompile, edit and recompile a mod? | /r/feedthebeast | 2022-10-11

    IF you've got the legal situation all sorted out, and know that you need to change a Java class file, and know how to program in Java, I'd suggest Recaf. With it, you can import a jar file, decompile, edit and recompile any source files in it, and export the whole thing again.

  • Javassist

    Java bytecode engineering toolkit

    Project mention: JUnit 5: link tests with task tracker issues | | 2023-04-21

    ClassPool comes from Javaassist library. It gives convenient API to retrieve the line number of Java method.

  • Mixin

    Mixin is a trait/mixin and bytecode weaving framework for Java using ASM

    Project mention: Hello I would try to start Modding in Minecraft. Have you any advice or good tutorial for beginning ? | /r/CurseForge | 2022-12-13

    And one day maybe you'll need that to inject code into specific location, but it's to do advanced things:

  • threadtear

    Multifunctional java deobfuscation tool suite

    Project mention: does decompiling a .jar file execute it? | /r/java | 2022-07-18

    If you're very paranoid, Threadtear does have some amount of protection against potential code execution when decompiling, although it hasn't been updated in a while and it's still always a risk (albeit one I never personally encountered). If you suspect that the file you want to decompile does have a way to execute code when decompiling it, you could try using a virtual machine for some added protection.

  • Byteman

    Byteman Project main repo

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • yGuard

    The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts

    Project mention: Obfuscation tutorial (the sequel) | /r/minecraftclients | 2022-07-31
  • MixinExtras

    Companion library to SpongePowered Mixin with many custom injectors for a more expressive experience.

    Project mention: Need help to fix error | /r/fabricmc | 2023-05-16

    Try adding the jar here

  • Maker

    Lightweight, full-featured, low-level dynamic Java class generator designed for ease of use.

    Project mention: Any news on the Classfile API? | /r/java | 2022-12-23

    If you want an alternative to ASM, try Cojen/Maker, which is designed to be much easier to use than any of the other class writing APIs, including the one proposed by JEP-8280389. Here's a comparison.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-16.

Java Bytecode Manipulation related posts


What are some of the best open-source Bytecode Manipulation projects in Java? This list will help you:

Project Stars
1 bytecode-viewer 13,757
2 Byte Buddy 5,575
3 Recaf 4,934
4 Javassist 3,838
5 Mixin 1,150
6 threadtear 733
7 Byteman 460
8 yGuard 289
9 MixinExtras 154
10 Maker 36
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives