Wrote /root/JavaX-Caches/tmp_2143908276/main.java - 812 bytes (written=812, should be 812)
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_652447664 /root/JavaX-Caches/tmp_2143908276/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_2143908276/main.java:2: error: class, interface, or enum expected
static Class> compileAndLoadMainClass(String src) ctex {
^
/root/JavaX-Caches/tmp_2143908276/main.java:4: error: class, interface, or enum expected
File srcDir = cast call(javax, "TempDirMaker_make");
^
/root/JavaX-Caches/tmp_2143908276/main.java:5: error: class, interface, or enum expected
File classesDir = cast call(javax, "TempDirMaker_make");
^
/root/JavaX-Caches/tmp_2143908276/main.java:6: error: class, interface, or enum expected
saveTextFile(new File(srcDir, "main.java"), src);
^
/root/JavaX-Caches/tmp_2143908276/main.java:7: error: class, interface, or enum expected
new List libraries;
^
/root/JavaX-Caches/tmp_2143908276/main.java:8: error: class, interface, or enum expected
set(javax, "safeTranslate", true);
^
/root/JavaX-Caches/tmp_2143908276/main.java:9: error: class, interface, or enum expected
File transpiledDir = cast call(javax, "topLevelTranslate", srcDir, libraries);
^
/root/JavaX-Caches/tmp_2143908276/main.java:10: error: class, interface, or enum expected
String javacOutput = cast call(javax, "compileJava", transpiledDir, libraries, classesDir);
^
/root/JavaX-Caches/tmp_2143908276/main.java:11: error: class, interface, or enum expected
System.out.println(javacOutput);
^
/root/JavaX-Caches/tmp_2143908276/main.java:12: error: class, interface, or enum expected
URL[] urls = {classesDir.toURI().toURL()};
^
/root/JavaX-Caches/tmp_2143908276/main.java:15: error: class, interface, or enum expected
URLClassLoader classLoader = new URLClassLoader(urls);
^
/root/JavaX-Caches/tmp_2143908276/main.java:18: error: class, interface, or enum expected
Class> mainClass = classLoader.loadClass("main");
^
/root/JavaX-Caches/tmp_2143908276/main.java:19: error: class, interface, or enum expected
return mainClass;
^
/root/JavaX-Caches/tmp_2143908276/main.java:20: error: class, interface, or enum expected
}
^
14 errors