jfor.org

Code

What is a .java file?

A .java file is a Java Language Source Code File. This is a code, script or executable format.

How to open a .java file

  • VS Code opens and highlights nearly every text-based code format.
  • Never run a script you didn't write or trust.

The registry records this extension against Java Language Source Code File, so software from that family is the most likely match.

How to convert a .java file

  • Text-based code needs no conversion — just save with a different extension if a tool insists.

The technical record

For archivists, developers and the merely curious: these are the PRONOM registry entries for .java.

Format nameVersionMIME typePUID
Java Language Source Code Filex-fmt/422

Got another one?