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

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

/root/JavaX-Caches/tmp_846640621/main.java:1: error: class, interface, or enum expected !636 // for includes ^ /root/JavaX-Caches/tmp_846640621/main.java:6: error: illegal character: '#' !include #1001065 // Dialog classes ^ /root/JavaX-Caches/tmp_846640621/main.java:10: error: class, interface, or enum expected static void answerQuestionsOnPort(final StringFunc f) { ^ /root/JavaX-Caches/tmp_846640621/main.java:10: error: class, interface, or enum expected static void answerQuestionsOnPort(final StringFunc f) { ^ /root/JavaX-Caches/tmp_846640621/main.java:12: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_846640621/main.java:14: error: class, interface, or enum expected static void answerQuestionsOnPort(int port, final StringFunc f) { ^ /root/JavaX-Caches/tmp_846640621/main.java:18: error: class, interface, or enum expected io.sendLine("Your ID: " + dialogID); ^ /root/JavaX-Caches/tmp_846640621/main.java:20: error: class, interface, or enum expected while (io.isStillConnected()) { ^ /root/JavaX-Caches/tmp_846640621/main.java:23: error: class, interface, or enum expected S s = dialogID + " at " + now() + ": " + quote(line); ^ /root/JavaX-Caches/tmp_846640621/main.java:24: error: class, interface, or enum expected print(s); ^ /root/JavaX-Caches/tmp_846640621/main.java:25: error: class, interface, or enum expected if (line == "bye") { ^ /root/JavaX-Caches/tmp_846640621/main.java:27: error: class, interface, or enum expected return; ^ /root/JavaX-Caches/tmp_846640621/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_846640621/main.java:30: error: class, interface, or enum expected io.sendLine(answer == null ? "null" : answer); ^ /root/JavaX-Caches/tmp_846640621/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_846640621/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_846640621/main.java:39: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_846640621/main.java:41: error: class, interface, or enum expected } catch (Throwable e) { ^ /root/JavaX-Caches/tmp_846640621/main.java:43: error: class, interface, or enum expected answer = e.toString(); ^ /root/JavaX-Caches/tmp_846640621/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_846640621/main.java:46: error: class, interface, or enum expected return answer; ^ /root/JavaX-Caches/tmp_846640621/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_846640621/main.java:49: error: class, interface, or enum expected static void answerQuestionsOnPortAndConsole(final StringFunc f) { ^ /root/JavaX-Caches/tmp_846640621/main.java:51: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_846640621/main.java:53: error: class, interface, or enum expected static void answerQuestionsOnPortAndConsole(int port, final StringFunc f) { ^ /root/JavaX-Caches/tmp_846640621/main.java:55: error: class, interface, or enum expected print("You may also type on this console."); ^ /root/JavaX-Caches/tmp_846640621/main.java:56: error: class, interface, or enum expected S line; ^ /root/JavaX-Caches/tmp_846640621/main.java:57: error: class, interface, or enum expected while ((line = readLine()) != null) { ^ /root/JavaX-Caches/tmp_846640621/main.java:60: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_846640621/main.java:62: error: class, interface, or enum expected } ^ 30 errors