---
name: "efj"
section: "1"
platform: "linux"
package: "eclipse-efj"
version: "3.2.1-4"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/efj"
---

# efj(1)

manual page for Eclipse Formatter for Java

## NAME

efj - manual page for Eclipse Formatter for Java

## SYNOPSIS

**efj \<options\> \<source files\>**

## DESCRIPTION

EFJ is the commanline version of the Eclipse source code formatter. The main motivation for EFJ comes from a request to use Eclipse's Java formatter without  having to install the entire Eclipse Platform, JDT or a GUI toolkit. It is possible to run  a nightly cron job which checks out the code, formats it and checks it back in. EFJ could also  be used in a server side commit hook.

## OPTIONS

- **-config** \<file\> Use the formatting style from the specified config file. This file must be an xml file that has been exported by Eclipse.

  - **-help** Display this message.

  - **-quiet** Only print error messages.

  - **-verbose** Be verbose about the formatting job.

  ## SEE ALSO

[eclipse(1)](/eclipse/1.md)

## ISSUES

You may also notice that an empty workspace directory is created in the directory that efj  is called from. This is because EFJ is just a GUI-less version of eclipse. Affords exists to disable this behaviour.

## REPORTING BUGS

Report bugs to Ben Konrath \<ben@bagu.org\>.

## AUTHOR

ecj was written by Ben Konrath \<ben@bagu.org\>. See the web site  http://www.bagu.org/eclipse/efj/ for more information.

This manual page was written by Stephan Michels \<stephan@apache.org\>.
