File extensions / Developer

.JAVA file — Java source

Java program source text, normally compiled into class files.

Technical information

Extension.java
CategoryDeveloper
MIME type hinttext/x-java-source
PRONOM PUIDx-fmt/422

Not listed in the imported IANA registry: text/x-java-source. These values are retained as historical, vendor or registry hints; absence from the snapshot is not proof that the file is invalid. Use the signature, source format and current registry to verify. IANA.

How to open or inspect this file

  1. Keep the original and use File Identifier to inspect the contents. Extensions alone are not conclusive.
  2. Check the originating application and use a reader that explicitly supports this format.
  3. Verify the output on a separate copy; never execute unfamiliar files just to inspect them.

Common questions

Can I open this file in FileTypeKit?

The related tools can inspect or process supported subsets; see each tool’s limits.

Will changing the extension convert my file?

No. A filename change leaves the underlying bytes unchanged. Use a compatible converter and keep the original.

Technical reference

Source specification or registry record · Search registry

Related formats

.JSJavaScript sourceDeveloper.WASMWebAssembly binaryDeveloper.CLASSJava class fileDeveloper.PYPython sourceDeveloper.CC sourceDeveloper.CPPC++ sourceDeveloper.RSRust sourceDeveloper.AABAndroid App BundleDeveloper.AARAndroid library archiveDeveloper.BASBASIC sourceDeveloper.BATWindows batch scriptDeveloper.CCC++ sourceDeveloper