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

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

/root/JavaX-Caches/tmp_155067987/main.java:1: error: class, interface, or enum expected static double autoRestart_interval = 10; ^ /root/JavaX-Caches/tmp_155067987/main.java:2: error: class, interface, or enum expected static bool autoRestart_on, autoRestart_debug, autoRestart_simulate; ^ /root/JavaX-Caches/tmp_155067987/main.java:3: error: class, interface, or enum expected static java.util.Timer autoRestart_timer; ^ /root/JavaX-Caches/tmp_155067987/main.java:5: error: class, interface, or enum expected static void autoRestart(double interval) { ^ /root/JavaX-Caches/tmp_155067987/main.java:7: error: class, interface, or enum expected autoRestart(); ^ /root/JavaX-Caches/tmp_155067987/main.java:8: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_155067987/main.java:12: error: class, interface, or enum expected set autoRestart_on; ^ /root/JavaX-Caches/tmp_155067987/main.java:13: error: class, interface, or enum expected autoRestart_schedule(); ^ /root/JavaX-Caches/tmp_155067987/main.java:14: error: class, interface, or enum expected preloadProgramTitle(); ^ /root/JavaX-Caches/tmp_155067987/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_155067987/main.java:19: error: class, interface, or enum expected stopTimer(autoRestart_timer); ^ /root/JavaX-Caches/tmp_155067987/main.java:20: error: class, interface, or enum expected autoRestart_timer = null; ^ /root/JavaX-Caches/tmp_155067987/main.java:21: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_155067987/main.java:25: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_155067987/main.java:30: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_155067987/main.java:32: error: class, interface, or enum expected } catch e { ^ /root/JavaX-Caches/tmp_155067987/main.java:34: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_155067987/main.java:35: error: class, interface, or enum expected if (!isMD5(newMD5)) { if (autoRestart_debug) print("autoRestart: no server transpilation"); ret; } ^ /root/JavaX-Caches/tmp_155067987/main.java:35: error: class, interface, or enum expected if (!isMD5(newMD5)) { if (autoRestart_debug) print("autoRestart: no server transpilation"); ret; } ^ /root/JavaX-Caches/tmp_155067987/main.java:39: error: class, interface, or enum expected S localMD5 = autoRestart_localMD5(); ^ /root/JavaX-Caches/tmp_155067987/main.java:40: error: class, interface, or enum expected if (neq(localMD5, newMD5)) { ^ /root/JavaX-Caches/tmp_155067987/main.java:43: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_155067987/main.java:45: error: class, interface, or enum expected restartWithDelay(500); ^ /root/JavaX-Caches/tmp_155067987/main.java:46: error: class, interface, or enum expected sleep(); ^ /root/JavaX-Caches/tmp_155067987/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_155067987/main.java:51: error: class, interface, or enum expected autoRestart_schedule(); ^ /root/JavaX-Caches/tmp_155067987/main.java:52: error: class, interface, or enum expected } ^ 27 errors