Wrote /root/JavaX-Caches/tmp_1818117505/main.java - 1391 bytes (written=1391, should be 1391) 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_1527734129 /root/JavaX-Caches/tmp_1818117505/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_1818117505/main.java:6: error: class, interface, or enum expected static Class<?> hotwire(String src) { ^ /root/JavaX-Caches/tmp_1818117505/main.java:8: error: <identifier> expected try { _javax.androidContext = get(main.class, "androidContext"); } catch (Exception e) {} ^ /root/JavaX-Caches/tmp_1818117505/main.java:8: error: class, interface, or enum expected try { _javax.androidContext = get(main.class, "androidContext"); } catch (Exception e) {} ^ /root/JavaX-Caches/tmp_1818117505/main.java:11: error: class, interface, or enum expected File srcDir = _javax.transpileMain(src, libraries); ^ /root/JavaX-Caches/tmp_1818117505/main.java:13: error: class, interface, or enum expected if (_javax.androidContext != null) ^ /root/JavaX-Caches/tmp_1818117505/main.java:16: error: class, interface, or enum expected File classesDir = _javax.TempDirMaker_make(); ^ /root/JavaX-Caches/tmp_1818117505/main.java:17: error: class, interface, or enum expected String javacOutput = _javax.compileJava(srcDir, libraries, classesDir); ^ /root/JavaX-Caches/tmp_1818117505/main.java:18: error: class, interface, or enum expected System.out.println(javacOutput); ^ /root/JavaX-Caches/tmp_1818117505/main.java:20: error: class, interface, or enum expected URL[] urls = new URL[libraries.size()+1]; ^ /root/JavaX-Caches/tmp_1818117505/main.java:21: error: class, interface, or enum expected urls[0] = classesDir.toURI().toURL(); ^ /root/JavaX-Caches/tmp_1818117505/main.java:22: error: class, interface, or enum expected for (int i = 0; i < libraries.size(); i++) ^ /root/JavaX-Caches/tmp_1818117505/main.java:22: error: class, interface, or enum expected for (int i = 0; i < libraries.size(); i++) ^ /root/JavaX-Caches/tmp_1818117505/main.java:22: error: class, interface, or enum expected for (int i = 0; i < libraries.size(); i++) ^ /root/JavaX-Caches/tmp_1818117505/main.java:26: error: class, interface, or enum expected URLClassLoader classLoader = new URLClassLoader(urls); ^ /root/JavaX-Caches/tmp_1818117505/main.java:29: error: class, interface, or enum expected Class<?> theClass = classLoader.loadClass("main"); ^ /root/JavaX-Caches/tmp_1818117505/main.java:31: error: class, interface, or enum expected if (isSnippetID(src)) ^ /root/JavaX-Caches/tmp_1818117505/main.java:34: error: class, interface, or enum expected } catch (Throwable e) {} ^ /root/JavaX-Caches/tmp_1818117505/main.java:37: error: class, interface, or enum expected } catch (Exception e) { ^ /root/JavaX-Caches/tmp_1818117505/main.java:39: error: class, interface, or enum expected } ^ 19 errors