Not a simulator.
ByteForge carries OpenJDK 25 and PostgreSQL 18 inside the app. The real javac compiles your code, a real JVM runs it on your phone’s processor, and a real database server answers its queries. No remote compiler, no Termux, no root, and no computer needed.
01
Java 25, for real
Records, sealed types, pattern matching, text blocks, var, and the new compact source files with a simple main. The compiler stays loaded between builds, so rebuilding is quick.
02
Made for thumbs
Syntax highlighting, a grouped toolbar, and a key bar for the brackets and symbols your keyboard hides. In landscape, quick actions stay in reach while you type. Pick from 7 editor themes, from GitHub Light to Dracula and Nord, and set your font size.
03
Mistakes, caught early
As you type, ByteForge checks your code: red errors, amber warnings, and blue hints, right in the editor. It also spots strings compared with ==, empty catch blocks, unused imports, and unused variables. Filter the Problems list by severity.
04
A console that talks back
Programs that read input work like a terminal: type a line and press Enter, or send EOF. Run starts your project’s main class whichever file is open, and the button names it; its arrow switches to another. Save program arguments and a working folder too, then rerun, stop, clear, or copy the output.
05
Swing and AWT windows
Frames, buttons, text fields, dialogs, and Graphics2D drawings open inside the app with a modern FlatLaf look. Tap, type, scroll, zoom, and maximize or minimize windows.
06
Projects that keep
Pick up where you left off from the home screen, or start from one of 7 templates. Multi-file projects with packages and folders: tap a folder to create or move files there, with no paths to type. Import and export as ZIP or .java files, and search across the project. Unsaved edits are recovered if the app closes.
07
Step through it
Debug offline with Step Into, Step Over, Step Out, and Continue. See local variables and the call stack, and follow your code into Swing callbacks and worker threads.
08
Every version kept
ByteForge keeps a local history of your files as you work. Name a checkpoint, compare versions, and restore one, even for a file you deleted.
09
Find it, tidy it
Find and replace in one file or across every Java file in the project, with a preview first. Format tidies a file in Google Java Format’s four-space style, compact source files included, and never touches what’s inside a text block. Snippets drop in loops, try/catch, or pieces you saved yourself.