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

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

/root/JavaX-Caches/tmp_119538200/main.java:1: error: class, interface, or enum expected svoid sfBot_p { ^ /root/JavaX-Caches/tmp_119538200/main.java:3: error: class, interface, or enum expected callStaticAnswerMethod("sf"); ^ /root/JavaX-Caches/tmp_119538200/main.java:4: error: class, interface, or enum expected if (!headless()) swing { ^ /root/JavaX-Caches/tmp_119538200/main.java:6: error: class, interface, or enum expected showControls(jcenteredLine(btn = jbutton("Add new standard function", r-thread { sfBot_doIt() }))); ^ /root/JavaX-Caches/tmp_119538200/main.java:7: error: class, interface, or enum expected btn.requestFocus(); ^ /root/JavaX-Caches/tmp_119538200/main.java:8: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_119538200/main.java:14: error: class, interface, or enum expected if "car" ^ /root/JavaX-Caches/tmp_119538200/main.java:17: error: class, interface, or enum expected if "car *" { ^ /root/JavaX-Caches/tmp_119538200/main.java:19: error: class, interface, or enum expected if (l(id) == 4) id = "102" + id; ^ /root/JavaX-Caches/tmp_119538200/main.java:20: error: class, interface, or enum expected carBot_addStandardFunction(id); ^ /root/JavaX-Caches/tmp_119538200/main.java:21: error: class, interface, or enum expected ret "OK"; ^ /root/JavaX-Caches/tmp_119538200/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_119538200/main.java:27: error: class, interface, or enum expected if "sf *" { ^ /root/JavaX-Caches/tmp_119538200/main.java:29: error: class, interface, or enum expected if (l(id) == 4) id = "103" + id; ^ /root/JavaX-Caches/tmp_119538200/main.java:30: error: class, interface, or enum expected addStdFunctionWithAnimation(id); ^ /root/JavaX-Caches/tmp_119538200/main.java:31: error: class, interface, or enum expected ret "OK"; ^ /root/JavaX-Caches/tmp_119538200/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_119538200/main.java:36: error: class, interface, or enum expected if (l(id) == 4) id = "103" + id; ^ /root/JavaX-Caches/tmp_119538200/main.java:37: error: class, interface, or enum expected addStdClassWithAnimation(id); ^ /root/JavaX-Caches/tmp_119538200/main.java:38: error: class, interface, or enum expected ret "OK"; ^ /root/JavaX-Caches/tmp_119538200/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_119538200/main.java:43: error: class, interface, or enum expected ret "OK"; ^ /root/JavaX-Caches/tmp_119538200/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_119538200/main.java:48: error: class, interface, or enum expected ret "OK"; ^ /root/JavaX-Caches/tmp_119538200/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_119538200/main.java:54: error: class, interface, or enum expected if "final *" ^ /root/JavaX-Caches/tmp_119538200/main.java:57: error: class, interface, or enum expected null; ^ /root/JavaX-Caches/tmp_119538200/main.java:58: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_119538200/main.java:62: error: class, interface, or enum expected } ^ 29 errors