Hello. Attached is a patch to update the ob-java.el implementation. This allows package, class and imports to be provided in the code or header arguments or omitted, accepts variables, supports functional mode (:results value), writes temp files to the temp directory instead of current dir, works with tramp, and adds tests. The "writes temp files to the temp directory" forced changes in ob-core in order to write and delete directories to the temp directory. Please review. Ian