Wrote /root/JavaX-Caches/tmp_274088550/main.java - 2192 bytes (written=2192, should be 2192) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 11 -target 11 -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_141789751 /root/JavaX-Caches/tmp_274088550/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_274088550/main.java:1: error: class, interface, or enum expected static File javaCompileToJar_rename(S src, File destJar, S progID) { ^ /root/JavaX-Caches/tmp_274088550/main.java:3: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_274088550/main.java:9: error: class, interface, or enum expected print("Compiling " + l(src) + " chars"); ^ /root/JavaX-Caches/tmp_274088550/main.java:10: error: class, interface, or enum expected S dummyClass = dummyMainClassName(progID); ^ /root/JavaX-Caches/tmp_274088550/main.java:11: error: class, interface, or enum expected src += "\nclass " + dummyClass + "{}"; ^ /root/JavaX-Caches/tmp_274088550/main.java:12: error: class, interface, or enum expected S md5 = md5(src); ^ /root/JavaX-Caches/tmp_274088550/main.java:13: error: class, interface, or enum expected File jar = destJar; ^ /root/JavaX-Caches/tmp_274088550/main.java:15: error: class, interface, or enum expected Class j = getJavaX(); ^ /root/JavaX-Caches/tmp_274088550/main.java:16: error: class, interface, or enum expected if (javaTarget != null) ^ /root/JavaX-Caches/tmp_274088550/main.java:19: error: class, interface, or enum expected File srcDir = cast call(j, "TempDirMaker_make"); ^ /root/JavaX-Caches/tmp_274088550/main.java:20: error: class, interface, or enum expected S className = "main"; ^ /root/JavaX-Caches/tmp_274088550/main.java:21: error: class, interface, or enum expected S fileName = dummyClass + ".java"; ^ /root/JavaX-Caches/tmp_274088550/main.java:22: error: class, interface, or enum expected File mainJava = new File(srcDir, fileName); ^ /root/JavaX-Caches/tmp_274088550/main.java:24: error: class, interface, or enum expected saveTextFile(mainJava, src); ^ /root/JavaX-Caches/tmp_274088550/main.java:25: error: class, interface, or enum expected File classesDir = (File) call(j, "TempDirMaker_make"); ^ /root/JavaX-Caches/tmp_274088550/main.java:26: error: class, interface, or enum expected new L<File> libraries; ^ /root/JavaX-Caches/tmp_274088550/main.java:28: error: class, interface, or enum expected Matcher m = Pattern.compile("\\d+").matcher(dehlibs); ^ /root/JavaX-Caches/tmp_274088550/main.java:29: error: class, interface, or enum expected while (m.find()) { ^ /root/JavaX-Caches/tmp_274088550/main.java:32: error: class, interface, or enum expected assertTrue(isSnippetID(libID)); ^ /root/JavaX-Caches/tmp_274088550/main.java:33: error: class, interface, or enum expected libraries.add(loadLibrary(libID)); ^ /root/JavaX-Caches/tmp_274088550/main.java:34: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_274088550/main.java:37: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_274088550/main.java:39: error: class, interface, or enum expected } catch (Throwable e) { ^ /root/JavaX-Caches/tmp_274088550/main.java:41: error: class, interface, or enum expected fail("Compile Error. " + compilerOutput + " " + e); ^ /root/JavaX-Caches/tmp_274088550/main.java:42: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_274088550/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_274088550/main.java:54: error: class, interface, or enum expected saveTextFile(new File(classesDir, "main.java"), src); ^ /root/JavaX-Caches/tmp_274088550/main.java:57: error: class, interface, or enum expected if (nempty(dehlibs)) ^ /root/JavaX-Caches/tmp_274088550/main.java:61: error: class, interface, or enum expected dir2zip_recurse_verbose = false; ^ /root/JavaX-Caches/tmp_274088550/main.java:62: error: class, interface, or enum expected int n = dir2zip_recurse(classesDir, jar); // cache on success only ^ /root/JavaX-Caches/tmp_274088550/main.java:65: error: class, interface, or enum expected return jar; ^ /root/JavaX-Caches/tmp_274088550/main.java:66: error: class, interface, or enum expected } ^ 32 errors