Open, view and edit Java source files directly on your Android phone or tablet.
Java File Opener & Editor is a lightweight tool for opening `.java` files, reading Java source code and making quick code changes on Android. Open Java files from your device, Downloads, email attachments, cloud storage or supported file managers.
Whether you are a developer, student or programming learner, the app makes it easy to inspect Java source code without using a desktop computer.
KEY FEATURES
Open Java Files
Open `.java` source files from Android file managers, Downloads and other supported apps. Java File Opener & Editor supports Android content URIs and locally stored files.
View Java Source Code
Read Java code with syntax highlighting, line numbers and a clean code viewer designed for phones and tablets.
Edit Java Files
Modify Java source code using the built-in code editor. Use undo, redo, copy, paste, search, replace and go-to-line tools while editing.
Save and Save As
Save changes back to supported files. When a file is read-only, save an editable copy to another location on your device.
Java Code Outline
Quickly inspect the structure of a Java source file. View detected packages, imports, classes, interfaces, enums, records, constructors and methods.
Jump to Classes and Methods
Use the code outline to navigate directly to important classes, methods and other Java declarations in large source files.
Main Method Detection
Check whether a Java source file contains a standard `public static void main` entry point.
Java File Information
View useful information such as:
• Package name
• Imports
• Classes and methods
• Main method status
• Line and character count
• File size
• Text encoding
Create New Java Files
Create a new `.java` source file using a simple Java class template, then edit and save it to your preferred location.
Recent Java Files
Quickly reopen recently viewed or edited Java files without searching for them again.
Java Syntax Highlighting
Java keywords, strings, comments, numbers and other code elements are highlighted to make source code easier to read.
Editor Tools
• Line numbers
• Search and replace
• Go to line
• Undo and redo
• Automatic indentation
• Adjustable font size
• Word wrap
• Light and dark themes
• Unsaved-change protection
More Code Formats
Java is the main focus of the app, but several other common source code, configuration and text file formats can also be opened and edited when supported.
LOCAL FILE PROCESSING
Your source code is processed locally on your device. Java files and code content are not automatically uploaded to a remote server.
IMPORTANT
Java File Opener & Editor is designed to open, inspect and edit Java source code. This version does not compile or run Java programs and does not build Android APK files, CLASS files or JAR files.