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

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

/root/JavaX-Caches/tmp_1723699658/main.java:1: error: class, interface, or enum expected !include #1003380 // Chat ^ /root/JavaX-Caches/tmp_1723699658/main.java:1: error: illegal character: '#' !include #1003380 // Chat ^ /root/JavaX-Caches/tmp_1723699658/main.java:5: error: class, interface, or enum expected O dialogBot, backend; ^ /root/JavaX-Caches/tmp_1723699658/main.java:6: error: class, interface, or enum expected JTextArea thoughtsArea; ^ /root/JavaX-Caches/tmp_1723699658/main.java:8: error: class, interface, or enum expected *(O dialogBot) { this(dialogBot, null); } ^ /root/JavaX-Caches/tmp_1723699658/main.java:8: error: class, interface, or enum expected *(O dialogBot) { this(dialogBot, null); } ^ /root/JavaX-Caches/tmp_1723699658/main.java:12: error: class, interface, or enum expected this.backend = backend; ^ /root/JavaX-Caches/tmp_1723699658/main.java:13: error: class, interface, or enum expected dialogBot = _dialogBot; ^ /root/JavaX-Caches/tmp_1723699658/main.java:16: error: class, interface, or enum expected swingAndWait(r { ^ /root/JavaX-Caches/tmp_1723699658/main.java:19: error: class, interface, or enum expected chat = new Chat; ^ /root/JavaX-Caches/tmp_1723699658/main.java:20: error: class, interface, or enum expected chat.logFile = getProgramFile("log.txt"); ^ /root/JavaX-Caches/tmp_1723699658/main.java:22: error: class, interface, or enum expected chat.onEnter_post = r { ^ /root/JavaX-Caches/tmp_1723699658/main.java:24: error: class, interface, or enum expected postIt(slurp(dialogBot, "getSingleOutput")); ^ /root/JavaX-Caches/tmp_1723699658/main.java:25: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_1723699658/main.java:27: error: class, interface, or enum expected updateThoughts(); ^ /root/JavaX-Caches/tmp_1723699658/main.java:29: error: class, interface, or enum expected JFrame frame = showFrame(makeTitle(), ^ /root/JavaX-Caches/tmp_1723699658/main.java:31: error: class, interface, or enum expected setFrameWidth(frame, 800); ^ /root/JavaX-Caches/tmp_1723699658/main.java:32: error: class, interface, or enum expected chat.requestFocus(); ^ /root/JavaX-Caches/tmp_1723699658/main.java:33: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_1723699658/main.java:34: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1723699658/main.java:38: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1723699658/main.java:40: error: class, interface, or enum expected void postIt(final L<E> l) { ^ /root/JavaX-Caches/tmp_1723699658/main.java:41: error: class, interface, or enum expected for (int i = 0; i < l(l); i++) { ^ /root/JavaX-Caches/tmp_1723699658/main.java:41: error: class, interface, or enum expected for (int i = 0; i < l(l); i++) { ^ /root/JavaX-Caches/tmp_1723699658/main.java:43: error: class, interface, or enum expected if (e.a()) ^ /root/JavaX-Caches/tmp_1723699658/main.java:45: error: class, interface, or enum expected else if (e.state()) { ^ /root/JavaX-Caches/tmp_1723699658/main.java:47: error: class, interface, or enum expected final int _i = i+1; ^ /root/JavaX-Caches/tmp_1723699658/main.java:48: error: class, interface, or enum expected Runnable l8r = r { awt { postIt(subList(l, _i)); } }; ^ /root/JavaX-Caches/tmp_1723699658/main.java:48: error: class, interface, or enum expected Runnable l8r = r { awt { postIt(subList(l, _i)); } }; ^ /root/JavaX-Caches/tmp_1723699658/main.java:49: error: class, interface, or enum expected if ((bool) call(backend, "action", e.state, l8r)) ^ /root/JavaX-Caches/tmp_1723699658/main.java:51: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1723699658/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1723699658/main.java:58: error: class, interface, or enum expected chat.append(s); ^ /root/JavaX-Caches/tmp_1723699658/main.java:59: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1723699658/main.java:63: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1723699658/main.java:65: error: class, interface, or enum expected } catch e { ^ /root/JavaX-Caches/tmp_1723699658/main.java:67: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1723699658/main.java:70: error: class, interface, or enum expected thoughtsArea.setText(s); ^ /root/JavaX-Caches/tmp_1723699658/main.java:71: error: class, interface, or enum expected } ^ 39 errors