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

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

/root/JavaX-Caches/tmp_294885588/main.java:1: error: class, interface, or enum expected static void systemCommands(S s, O env) { ^ /root/JavaX-Caches/tmp_294885588/main.java:3: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:10: error: class, interface, or enum expected if (matchOneOf(s, m, "start program *", "start *") ^ /root/JavaX-Caches/tmp_294885588/main.java:13: error: class, interface, or enum expected S title = getSnippetTitle(progID); ^ /root/JavaX-Caches/tmp_294885588/main.java:15: error: class, interface, or enum expected S msg = "Run program " + progID + " - " + title + "?"; ^ /root/JavaX-Caches/tmp_294885588/main.java:16: error: class, interface, or enum expected if (confirmOKCancel((JFrame) getOpt(env, "frame"), msg)) { ^ /root/JavaX-Caches/tmp_294885588/main.java:18: error: class, interface, or enum expected nohupJavax(progID); ^ /root/JavaX-Caches/tmp_294885588/main.java:19: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_294885588/main.java:21: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:25: error: class, interface, or enum expected S title = getSnippetTitle(progID); ^ /root/JavaX-Caches/tmp_294885588/main.java:27: error: class, interface, or enum expected S msg = "Hotwire & run program " + progID + " - " + quote(title) + (empty(arg) ? "" : " with argument " + quote(arg)) + "?"; ^ /root/JavaX-Caches/tmp_294885588/main.java:28: error: class, interface, or enum expected if (confirmOKCancel((JFrame) getOpt(env, "frame"), msg)) { ^ /root/JavaX-Caches/tmp_294885588/main.java:30: error: class, interface, or enum expected run(progID, arg); ^ /root/JavaX-Caches/tmp_294885588/main.java:31: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_294885588/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:37: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:41: error: class, interface, or enum expected code = tok_addReturn(trim(code)); ^ /root/JavaX-Caches/tmp_294885588/main.java:42: error: class, interface, or enum expected bool x = !containsReturnWithArgument(code); ^ /root/JavaX-Caches/tmp_294885588/main.java:43: error: class, interface, or enum expected S keyword = x ? "r" : "func"; ^ /root/JavaX-Caches/tmp_294885588/main.java:44: error: class, interface, or enum expected ret systemCommands_evalJava("swingAndWait(" + keyword + " {\n" + code + "\n})" + (x ? ";" : "")); ^ /root/JavaX-Caches/tmp_294885588/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:49: error: class, interface, or enum expected ret systemCommands_evalJava(code); ^ /root/JavaX-Caches/tmp_294885588/main.java:50: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:54: error: class, interface, or enum expected ret systemCommands_onPhone(code); ^ /root/JavaX-Caches/tmp_294885588/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:59: error: class, interface, or enum expected S code = afterSpace(s); ^ /root/JavaX-Caches/tmp_294885588/main.java:60: error: class, interface, or enum expected ret systemCommands_evalJava(code); ^ /root/JavaX-Caches/tmp_294885588/main.java:61: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:65: error: class, interface, or enum expected restart(); ^ /root/JavaX-Caches/tmp_294885588/main.java:66: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:70: error: class, interface, or enum expected if (empty(text)) ^ /root/JavaX-Caches/tmp_294885588/main.java:72: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_294885588/main.java:74: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:79: error: class, interface, or enum expected int i = l(gLog())-1; ^ /root/JavaX-Caches/tmp_294885588/main.java:80: error: class, interface, or enum expected S part = fromLines(subList(gLog(), i-nn, i-mm+1)); ^ /root/JavaX-Caches/tmp_294885588/main.java:81: error: class, interface, or enum expected systemCommands_ll(env, part); ^ /root/JavaX-Caches/tmp_294885588/main.java:82: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:86: error: class, interface, or enum expected if (isInteger(m.get(0))) { ^ /root/JavaX-Caches/tmp_294885588/main.java:89: error: class, interface, or enum expected int i = l(gLog())-1; ^ /root/JavaX-Caches/tmp_294885588/main.java:90: error: class, interface, or enum expected part = get(gLog(), i-mm); ^ /root/JavaX-Caches/tmp_294885588/main.java:91: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_294885588/main.java:93: error: class, interface, or enum expected systemCommands_ll(env, part); ^ /root/JavaX-Caches/tmp_294885588/main.java:94: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:99: error: class, interface, or enum expected null; ^ /root/JavaX-Caches/tmp_294885588/main.java:100: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:104: error: class, interface, or enum expected call(env, "postSystemMessage", "Added to Logic List: " + text); ^ /root/JavaX-Caches/tmp_294885588/main.java:105: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:109: error: class, interface, or enum expected static S systemCommands_evalJava(S code) { ^ /root/JavaX-Caches/tmp_294885588/main.java:112: error: class, interface, or enum expected O obj = veryQuickJava(main); ^ /root/JavaX-Caches/tmp_294885588/main.java:113: error: class, interface, or enum expected setOpt(obj, "getProgramName_cache", "User Code"); ^ /root/JavaX-Caches/tmp_294885588/main.java:114: error: class, interface, or enum expected long time = now(); ^ /root/JavaX-Caches/tmp_294885588/main.java:115: error: class, interface, or enum expected O result = callCalc(obj); ^ /root/JavaX-Caches/tmp_294885588/main.java:116: error: class, interface, or enum expected systemCommands_lastResult = result; ^ /root/JavaX-Caches/tmp_294885588/main.java:117: error: class, interface, or enum expected time = now()-time; ^ /root/JavaX-Caches/tmp_294885588/main.java:118: error: class, interface, or enum expected ret time + " ms\n" + systemCommands_prettyPrint(result); ^ /root/JavaX-Caches/tmp_294885588/main.java:119: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:125: error: class, interface, or enum expected if (eq(getClassName(o), "main$Snippet")) ^ /root/JavaX-Caches/tmp_294885588/main.java:128: error: class, interface, or enum expected if (eq(getClassName(o), "java.awt.image.BufferedImage")) ^ /root/JavaX-Caches/tmp_294885588/main.java:131: error: class, interface, or enum expected ret structureOrText(o); ^ /root/JavaX-Caches/tmp_294885588/main.java:132: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294885588/main.java:136: error: class, interface, or enum expected O result = onPhone(code); ^ /root/JavaX-Caches/tmp_294885588/main.java:137: error: class, interface, or enum expected systemCommands_lastResult = result; ^ /root/JavaX-Caches/tmp_294885588/main.java:138: error: class, interface, or enum expected time = now()-time; ^ /root/JavaX-Caches/tmp_294885588/main.java:139: error: class, interface, or enum expected ret time + " ms\n" + systemCommands_prettyPrint(result); ^ /root/JavaX-Caches/tmp_294885588/main.java:140: error: class, interface, or enum expected } ^ 65 errors