Java Modeling Language specification data
File type: Source code and script file
A jml file extension identifies a Java Modeling Language specification file.
A jml file contains behavioral specifications for Java source code and is used with JML-aware development tools.
File type category:
Source code and script file
Date updated: October 24, 2026
The Java Modeling Language (JML) is a behavioral interface specification language for describing the behavior of Java modules and other program components.
A jml file stores specifications for classes, methods, libraries, or frameworks. These specifications can describe requirements such as preconditions, postconditions, and invariants, and are typically used alongside Java source files.
JML files are source-like text files rather than executable programs. They can be edited and processed in Eclipse with JML support or with JMLEclipse, a multiplatform tool.
On Microsoft Windows, Linux or Unix, and macOS, a jml file can be opened in Eclipse when the required JML support is installed. JMLEclipse can also open and work with these files on supported platforms.
JML files are used internally for Java Modeling Language specifications. Because they are text-based specification files, they can also be viewed in a plain-text editor, although a JML-aware tool is needed to check or use their specifications.
Conversion of a jml file to another file format is not possible. Its specifications are intended to remain as JML source data and be processed by JML-aware development or verification tools.
Software apps that create jml files:
Microsoft Windows
Software apps that manage or store settings in jml files:
Microsoft Windows
Apple macOS / Mac OS X
Linux/Unix
Multiplatform
Software applications that handle other tasks involving jml files:
Microsoft Windows
Apple macOS / Mac OS X
Linux/Unix
Multiplatform