Wrote /root/JavaX-Caches/tmp_410942493/main.java - 2081 bytes (written=2081, should be 2081)
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_1511314933 /root/JavaX-Caches/tmp_410942493/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_410942493/main.java:1: error: class, interface, or enum expected
static File javaCompileToJar_standard(S src, File destJar) {
^
/root/JavaX-Caches/tmp_410942493/main.java:3: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_410942493/main.java:9: error: class, interface, or enum expected
print("Compiling " + l(src) + " chars");
^
/root/JavaX-Caches/tmp_410942493/main.java:10: error: class, interface, or enum expected
S md5 = md5(src);
^
/root/JavaX-Caches/tmp_410942493/main.java:11: error: class, interface, or enum expected
File jar = destJar;
^
/root/JavaX-Caches/tmp_410942493/main.java:13: error: class, interface, or enum expected
Class j = getJavaX();
^
/root/JavaX-Caches/tmp_410942493/main.java:14: error: class, interface, or enum expected
if (javaTarget != null)
^
/root/JavaX-Caches/tmp_410942493/main.java:17: error: class, interface, or enum expected
File srcDir = cast call(j, "TempDirMaker_make");
^
/root/JavaX-Caches/tmp_410942493/main.java:18: error: class, interface, or enum expected
S className = "main";
^
/root/JavaX-Caches/tmp_410942493/main.java:19: error: class, interface, or enum expected
S fileName = className + ".java";
^
/root/JavaX-Caches/tmp_410942493/main.java:20: error: class, interface, or enum expected
File mainJava = new File(srcDir, fileName);
^
/root/JavaX-Caches/tmp_410942493/main.java:22: error: class, interface, or enum expected
saveTextFile(mainJava, src);
^
/root/JavaX-Caches/tmp_410942493/main.java:23: error: class, interface, or enum expected
File classesDir = (File) call(j, "TempDirMaker_make");
^
/root/JavaX-Caches/tmp_410942493/main.java:24: error: class, interface, or enum expected
new L libraries;
^
/root/JavaX-Caches/tmp_410942493/main.java:26: error: class, interface, or enum expected
Matcher m = Pattern.compile("\\d+").matcher(dehlibs);
^
/root/JavaX-Caches/tmp_410942493/main.java:27: error: class, interface, or enum expected
while (m.find()) {
^
/root/JavaX-Caches/tmp_410942493/main.java:30: error: class, interface, or enum expected
assertTrue(isSnippetID(libID));
^
/root/JavaX-Caches/tmp_410942493/main.java:31: error: class, interface, or enum expected
libraries.add(loadLibrary(libID));
^
/root/JavaX-Caches/tmp_410942493/main.java:32: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_410942493/main.java:35: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_410942493/main.java:37: error: class, interface, or enum expected
} catch (Throwable e) {
^
/root/JavaX-Caches/tmp_410942493/main.java:39: error: class, interface, or enum expected
fail("Compile Error. " + compilerOutput + " " + e);
^
/root/JavaX-Caches/tmp_410942493/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_410942493/main.java:45: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_410942493/main.java:52: error: class, interface, or enum expected
saveTextFile(new File(classesDir, "main.java"), src);
^
/root/JavaX-Caches/tmp_410942493/main.java:55: error: class, interface, or enum expected
if (nempty(dehlibs))
^
/root/JavaX-Caches/tmp_410942493/main.java:59: error: class, interface, or enum expected
dir2zip_recurse_verbose = false;
^
/root/JavaX-Caches/tmp_410942493/main.java:60: error: class, interface, or enum expected
int n = dir2zip_recurse(classesDir, jar); // cache on success only
^
/root/JavaX-Caches/tmp_410942493/main.java:63: error: class, interface, or enum expected
return jar;
^
/root/JavaX-Caches/tmp_410942493/main.java:64: error: class, interface, or enum expected
}
^
30 errors