Variable: org-babel-default-header-args:java

org-babel-default-header-args:java is a variable defined in ob-java.el.gz.

Value

((:results . "output")
 (:dir . "."))

Documentation

Default header args for java source blocks.

The docs say functional mode should be the default [1], but ob-java didn't originally support functional mode, so we keep scripting mode as the default for now to maintain previous behavior.

Most languages write tempfiles to babel's temporary directory, but ob-java originally had to write them to the current directory, so we keep that as the default behavior.

[1] https://orgmode.org/manual/Results-of-Evaluation.html

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-java.el.gz
(defvar org-babel-temporary-directory) ; from ob-core

(defvar org-babel-default-header-args:java '((:results . "output")
					     (:dir . "."))
  "Default header args for java source blocks.
The docs say functional mode should be the default [1], but
ob-java didn't originally support functional mode, so we keep
scripting mode as the default for now to maintain previous
behavior.

Most languages write tempfiles to babel's temporary directory,
but ob-java originally had to write them to the current
directory, so we keep that as the default behavior.

[1] https://orgmode.org/manual/Results-of-Evaluation.html")