Wrote /root/JavaX-Caches/tmp_1835423315/main.java - 2842 bytes (written=2842, should be 2842) 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:/root/.tinybrain/snippet-cache/1031186.jar -d /root/JavaX-Caches/tmp_1563484708 /root/JavaX-Caches/tmp_1835423315/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_1835423315/main.java:1: error: class, interface, or enum expected !7 ^ /root/JavaX-Caches/tmp_1835423315/main.java:5: error: class, interface, or enum expected switchable int y1; ^ /root/JavaX-Caches/tmp_1835423315/main.java:6: error: class, interface, or enum expected switchable int w = screenWidth(); ^ /root/JavaX-Caches/tmp_1835423315/main.java:7: error: class, interface, or enum expected switchable int h = screenHeight(); ^ /root/JavaX-Caches/tmp_1835423315/main.java:8: error: class, interface, or enum expected switchable double maxFPS = 10; ^ /root/JavaX-Caches/tmp_1835423315/main.java:9: error: class, interface, or enum expected switchable int previewWidth = 200; ^ /root/JavaX-Caches/tmp_1835423315/main.java:10: error: class, interface, or enum expected switchable double statsEvery = 5; ^ /root/JavaX-Caches/tmp_1835423315/main.java:12: error: class, interface, or enum expected PersistableThrowable lastProcessingError; ^ /root/JavaX-Caches/tmp_1835423315/main.java:13: error: class, interface, or enum expected transient WithTimestamp<OKOrError<BufferedImage>> lastScreen; ^ /root/JavaX-Caches/tmp_1835423315/main.java:14: error: class, interface, or enum expected transient new Average screenShotTime; ^ /root/JavaX-Caches/tmp_1835423315/main.java:15: error: class, interface, or enum expected transient new Average iiTime; ^ /root/JavaX-Caches/tmp_1835423315/main.java:16: error: class, interface, or enum expected transient Timestamp loopStarted; ^ /root/JavaX-Caches/tmp_1835423315/main.java:17: error: class, interface, or enum expected transient new RestartableCountdown screenShotCountdown; ^ /root/JavaX-Caches/tmp_1835423315/main.java:18: error: class, interface, or enum expected transient BWIntegralImage ii; ^ /root/JavaX-Caches/tmp_1835423315/main.java:19: error: class, interface, or enum expected transient ImageSurface imageSurface; ^ /root/JavaX-Caches/tmp_1835423315/main.java:20: error: class, interface, or enum expected transient Throwable currentProcessingError; ^ /root/JavaX-Caches/tmp_1835423315/main.java:21: error: class, interface, or enum expected transient BufferedImage previewImage; ^ /root/JavaX-Caches/tmp_1835423315/main.java:23: error: class, interface, or enum expected Rect area() { ret rect(x1, y1, w, h); } ^ /root/JavaX-Caches/tmp_1835423315/main.java:23: error: class, interface, or enum expected Rect area() { ret rect(x1, y1, w, h); } ^ /root/JavaX-Caches/tmp_1835423315/main.java:27: error: class, interface, or enum expected dm_watchField enabled(r { if (enabled) dm_reload(); }); ^ /root/JavaX-Caches/tmp_1835423315/main.java:27: error: class, interface, or enum expected dm_watchField enabled(r { if (enabled) dm_reload(); }); ^ /root/JavaX-Caches/tmp_1835423315/main.java:29: error: class, interface, or enum expected print("Screen bounds: " + allScreenBounds()); ^ /root/JavaX-Caches/tmp_1835423315/main.java:31: error: class, interface, or enum expected dm_doEvery(min(statsEvery, 10.0), statsEvery, r { if (enabled) printStats(); }); ^ /root/JavaX-Caches/tmp_1835423315/main.java:31: error: class, interface, or enum expected dm_doEvery(min(statsEvery, 10.0), statsEvery, r { if (enabled) printStats(); }); ^ /root/JavaX-Caches/tmp_1835423315/main.java:33: error: class, interface, or enum expected loopStarted = tsNow(); ^ /root/JavaX-Caches/tmp_1835423315/main.java:34: error: class, interface, or enum expected shoot(); ^ /root/JavaX-Caches/tmp_1835423315/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1835423315/main.java:40: error: class, interface, or enum expected long targetTime = sysNow()+iround(1000/maxFPS); ^ /root/JavaX-Caches/tmp_1835423315/main.java:41: error: class, interface, or enum expected long time = nanoTime(); ^ /root/JavaX-Caches/tmp_1835423315/main.java:43: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1835423315/main.java:45: error: class, interface, or enum expected screenShotTime.add(nanosToSeconds(nanoTime()-time)); ^ /root/JavaX-Caches/tmp_1835423315/main.java:46: error: class, interface, or enum expected if (lastScreen->isOK()) { ^ /root/JavaX-Caches/tmp_1835423315/main.java:48: error: class, interface, or enum expected ii = BWIntegralImage(lastScreen!!); ^ /root/JavaX-Caches/tmp_1835423315/main.java:50: error: class, interface, or enum expected iiTime.add(nanosToSeconds(nanoTime()-time)); ^ /root/JavaX-Caches/tmp_1835423315/main.java:52: error: class, interface, or enum expected previewImage = scaledBufferedImageFromBWIntegralImage(ii, previewWidth); ^ /root/JavaX-Caches/tmp_1835423315/main.java:53: error: class, interface, or enum expected imageSurface?.setImage(previewImage); ^ /root/JavaX-Caches/tmp_1835423315/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1835423315/main.java:57: error: class, interface, or enum expected } catch print e { ^ /root/JavaX-Caches/tmp_1835423315/main.java:59: error: class, interface, or enum expected sleepSeconds(60); // errors in processing are no good ^ /root/JavaX-Caches/tmp_1835423315/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1835423315/main.java:63: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1835423315/main.java:65: error: class, interface, or enum expected void printStats() { print(stats()); } ^ /root/JavaX-Caches/tmp_1835423315/main.java:69: error: class, interface, or enum expected ret formatColonProperties_noNulls( ^ /root/JavaX-Caches/tmp_1835423315/main.java:78: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1835423315/main.java:83: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1835423315/main.java:87: error: class, interface, or enum expected BufferedImage lastScreenImage() { ret getVar(getVar(lastScreen)); } ^ /root/JavaX-Caches/tmp_1835423315/main.java:87: error: class, interface, or enum expected BufferedImage lastScreenImage() { ret getVar(getVar(lastScreen)); } ^ 47 errors