Wrote /root/JavaX-Caches/tmp_264144724/main.java - 1368 bytes (written=1368, should be 1368) javac=0, ecj=1 Checking ECJ at port 4898 at 127.0.0.1 ecj -source 1.8 -target 1.8 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_2105316767 /root/JavaX-Caches/tmp_264144724/main.java [Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

main$JavaCompileException: ECJ returned errors. ---------- 1. ERROR in /root/JavaX-Caches/tmp_264144724/main.java (at line 1) static bool dir2zip_recurse_verbose; ^^^^ Syntax error on token "bool", package expected ---------- 2. ERROR in /root/JavaX-Caches/tmp_264144724/main.java (at line 3) static int dir2zip_recurse(File inDir, File zip) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, ClassHeader expected instead ---------- 3. ERROR in /root/JavaX-Caches/tmp_264144724/main.java (at line 4) ret dir2zip_recurse(inDir, zip, ""); ^ Syntax error on token ",", delete this token ---------- 4. ERROR in /root/JavaX-Caches/tmp_264144724/main.java (at line 4) ret dir2zip_recurse(inDir, zip, ""); ^^ Syntax error on token """", invalid FormalParameter ---------- 5. ERROR in /root/JavaX-Caches/tmp_264144724/main.java (at line 5) } ^ Syntax error on token "}", delete this token ---------- 6. ERROR in /root/JavaX-Caches/tmp_264144724/main.java (at line 8) static int dir2zip_recurse(File inDir, File zip, String outPrefix) ctex { ^^^^ Syntax error on token "ctex", delete this token ---------- 7. ERROR in /root/JavaX-Caches/tmp_264144724/main.java (at line 13) ret dir2zip_recurse(inDir, outZip, outPrefix, 0); ^^^ Syntax error, insert "VariableDeclarators" to complete LocalVariableDeclaration ---------- 8. ERROR in /root/JavaX-Caches/tmp_264144724/main.java (at line 13) ret dir2zip_recurse(inDir, outZip, outPrefix, 0); ^^^ Syntax error, insert ";" to complete BlockStatements ---------- 9. ERROR in /root/JavaX-Caches/tmp_264144724/main.java (at line 20) ret dir2zip_recurse(inDir, outZip, "", 0); ^^^ Syntax error, insert "VariableDeclarators" to complete LocalVariableDeclaration ---------- 10. ERROR in /root/JavaX-Caches/tmp_264144724/main.java (at line 20) ret dir2zip_recurse(inDir, outZip, "", 0); ^^^ Syntax error, insert ";" to complete BlockStatements ---------- 11. ERROR in /root/JavaX-Caches/tmp_264144724/main.java (at line 23) static int dir2zip_recurse(File inDir, ZipOutputStream outZip, String outPrefix, int level) ctex { ^^^^ Syntax error on token "ctex", delete this token ---------- 12. ERROR in /root/JavaX-Caches/tmp_264144724/main.java (at line 26) new L<File> files; ^^^^^^^^^^^ Syntax error on tokens, Type expected instead ---------- 13. ERROR in /root/JavaX-Caches/tmp_264144724/main.java (at line 46) } ^ Syntax error, insert "}" to complete ClassBody ---------- 13 problems (13 errors) Options file: /tmp/javax8037235882219884690