An application to show binary file internals visually & interactively for the meaning of every bit.
Supported Formats
Sample
- Here is a screen shot opening
java.lang.String.classfile
Download
- Download Application: https://github.com/amosshi/binaryinternals/releases
User guide
- We need the
javacommand to run this tooljava -jar BinaryInternalsViewer-3.6-timestamp.jar- Where
timestampis the auto-generated build timestamp
- Where
- Menu item:
File>Open... - Choose the binary file to view
Build the Source Code
- Prerequisite
- Java Version:
OpenJDK version 11or higher - Set
JAVA_HOMEenvironment variable- If not set use the export statements in the
build.shscript
- If not set use the export statements in the
- Build Tool:
Apache Maven 3.6or higher: because we are using the Maven CI Friendly Versions${revision}feature
- Java Version:
- Build
- Build via maven command
mvn cleanmvn packagemvn installmvn site:sitemvn site:stage
- Build with Script
./build.sh(Linux/MacOS/Windows Git Bash)build.cmd(Windows CMD)
- Build via maven command
Structure
- This application does not have 3rd party dependency other than JDK, easy to add it to your existing project
- Show dependency tree for this project
mvn dependency:tree
- Graph of all dependencies aggregated
- Make sure Graphviz has been installed,
dotcommand is available mvn com.github.ferstl:depgraph-maven-plugin:aggregate -DcreateImage -Dincludes=org.binaryinternals -DshowGroupIds -DshowVersions -DoutputDirectory=docs
- Make sure Graphviz has been installed,
Legacy note
- The original
Java Class Viewerhas been retired and merged intoBinary Internals Viewersince Apr 2021
The FormatXXXX.jar files can be used in your project when needed.

