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

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

/root/JavaX-Caches/tmp_632679401/main.java:1: error: class, interface, or enum expected set flag NoAWT. set flag Android. set flag AndroidOnly. ^ /root/JavaX-Caches/tmp_632679401/main.java:16: error: class, interface, or enum expected static SpeechRecognizer sr; ^ /root/JavaX-Caches/tmp_632679401/main.java:17: error: class, interface, or enum expected static final String TAG = "MyStt3Activity"; ^ /root/JavaX-Caches/tmp_632679401/main.java:18: error: class, interface, or enum expected static S language = "en-US"; ^ /root/JavaX-Caches/tmp_632679401/main.java:19: error: class, interface, or enum expected static int extraResults = 1; ^ /root/JavaX-Caches/tmp_632679401/main.java:21: error: class, interface, or enum expected static bool fastSynthesis = false; // use device voice (faster) ^ /root/JavaX-Caches/tmp_632679401/main.java:22: error: class, interface, or enum expected static bool noSpeech = false; // disable speech output ^ /root/JavaX-Caches/tmp_632679401/main.java:24: error: class, interface, or enum expected static bool manualMode = false; // Start recognition on click only ^ /root/JavaX-Caches/tmp_632679401/main.java:25: error: class, interface, or enum expected sbool muteAlways, printErrors; ^ /root/JavaX-Caches/tmp_632679401/main.java:26: error: class, interface, or enum expected sbool listenAfterTalk = true; // it works now ^ /root/JavaX-Caches/tmp_632679401/main.java:28: error: class, interface, or enum expected static volatile bool listening, recognitionCancelled; ^ /root/JavaX-Caches/tmp_632679401/main.java:30: error: class, interface, or enum expected static new L<S> history; ^ /root/JavaX-Caches/tmp_632679401/main.java:31: error: class, interface, or enum expected static Lock speechLock = lock(); ^ /root/JavaX-Caches/tmp_632679401/main.java:33: error: class, interface, or enum expected static boolean showPicture = true; // global switch. if false, you get the normal text display instead of the smiley ^ /root/JavaX-Caches/tmp_632679401/main.java:35: error: class, interface, or enum expected static L<S> emotions = litlist( ^ /root/JavaX-Caches/tmp_632679401/main.java:42: error: class, interface, or enum expected static float statusFontSize = /*25*/17; ^ /root/JavaX-Caches/tmp_632679401/main.java:43: error: class, interface, or enum expected static float userFontSize = 25; ^ /root/JavaX-Caches/tmp_632679401/main.java:44: error: class, interface, or enum expected static float myFontSize = 25; ^ /root/JavaX-Caches/tmp_632679401/main.java:45: error: class, interface, or enum expected static int borderColor = 0xFFFFFFFF; ^ /root/JavaX-Caches/tmp_632679401/main.java:46: error: class, interface, or enum expected static S lastEmotionImage, lastEmotion /*, onScreenText = ""*/; ^ /root/JavaX-Caches/tmp_632679401/main.java:47: error: class, interface, or enum expected static ImageView emoView; ^ /root/JavaX-Caches/tmp_632679401/main.java:48: error: class, interface, or enum expected static TextView statusView, userTextView, myTextView, lblInputView; ^ /root/JavaX-Caches/tmp_632679401/main.java:49: error: class, interface, or enum expected sS statusText; ^ /root/JavaX-Caches/tmp_632679401/main.java:50: error: class, interface, or enum expected static EditText inputView; ^ /root/JavaX-Caches/tmp_632679401/main.java:51: error: class, interface, or enum expected sbool recogOnActivate = true; // start listening when app activated ^ /root/JavaX-Caches/tmp_632679401/main.java:52: error: class, interface, or enum expected sbool hideTitleBar; ^ /root/JavaX-Caches/tmp_632679401/main.java:54: error: class, interface, or enum expected svoid androidCatMain { ^ /root/JavaX-Caches/tmp_632679401/main.java:57: error: class, interface, or enum expected androidUnsetAdminMode(); ^ /root/JavaX-Caches/tmp_632679401/main.java:58: error: class, interface, or enum expected removeMyselfAsInjection(); ^ /root/JavaX-Caches/tmp_632679401/main.java:59: error: class, interface, or enum expected aShowStartScreen(); ^ /root/JavaX-Caches/tmp_632679401/main.java:60: error: class, interface, or enum expected ret; ^ /root/JavaX-Caches/tmp_632679401/main.java:61: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_632679401/main.java:65: error: class, interface, or enum expected androidSay_keepEngine = true; ^ /root/JavaX-Caches/tmp_632679401/main.java:67: error: class, interface, or enum expected if (muteAlways) androidMuteAudio(); ^ /root/JavaX-Caches/tmp_632679401/main.java:69: error: class, interface, or enum expected S hello = null; ^ /root/JavaX-Caches/tmp_632679401/main.java:74: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_632679401/main.java:77: error: class, interface, or enum expected if (hello == null) hello = german() ? "hallo" : "hello"; ^ /root/JavaX-Caches/tmp_632679401/main.java:78: error: class, interface, or enum expected } catch (Throwable e) { ^ /root/JavaX-Caches/tmp_632679401/main.java:80: error: class, interface, or enum expected return; ^ /root/JavaX-Caches/tmp_632679401/main.java:81: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_632679401/main.java:86: error: class, interface, or enum expected listening = true; // so user can cancel early ^ /root/JavaX-Caches/tmp_632679401/main.java:88: error: class, interface, or enum expected justASec(); // show interface ^ /root/JavaX-Caches/tmp_632679401/main.java:89: error: class, interface, or enum expected callOptMC('happy); ^ /root/JavaX-Caches/tmp_632679401/main.java:89: error: unclosed character literal callOptMC('happy); ^ /root/JavaX-Caches/tmp_632679401/main.java:91: error: class, interface, or enum expected thread "Long-Poll" { ^ /root/JavaX-Caches/tmp_632679401/main.java:96: error: class, interface, or enum expected if (nempty(action)) ^ /root/JavaX-Caches/tmp_632679401/main.java:98: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_632679401/main.java:106: error: class, interface, or enum expected if (german()) androidSayInGerman(""); else androidSayInEnglish(""); ^ /root/JavaX-Caches/tmp_632679401/main.java:106: error: class, interface, or enum expected if (german()) androidSayInGerman(""); else androidSayInEnglish(""); ^ /root/JavaX-Caches/tmp_632679401/main.java:108: error: class, interface, or enum expected if (recognitionCancelled) recognitionCancelled = false; ^ /root/JavaX-Caches/tmp_632679401/main.java:109: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_632679401/main.java:112: error: class, interface, or enum expected noMainDone(); ^ /root/JavaX-Caches/tmp_632679401/main.java:113: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_632679401/main.java:118: error: class, interface, or enum expected sr = SpeechRecognizer.createSpeechRecognizer(androidActivity()); ^ /root/JavaX-Caches/tmp_632679401/main.java:119: error: class, interface, or enum expected sr.setRecognitionListener(new listener()); ^ /root/JavaX-Caches/tmp_632679401/main.java:120: error: class, interface, or enum expected recog(); ^ /root/JavaX-Caches/tmp_632679401/main.java:121: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_632679401/main.java:128: error: not a statement ret; ^ /root/JavaX-Caches/tmp_632679401/main.java:130: error: unclosed character literal callOptMC('setBorderAndStatus, 0xFF66FF66, ^ /root/JavaX-Caches/tmp_632679401/main.java:130: error: not a statement callOptMC('setBorderAndStatus, 0xFF66FF66, ^ /root/JavaX-Caches/tmp_632679401/main.java:130: error: ';' expected callOptMC('setBorderAndStatus, 0xFF66FF66, ^ /root/JavaX-Caches/tmp_632679401/main.java:131: error: not a statement german() ? "JETZT SPRECHEN!" : "TALK NOW!"); ^ /root/JavaX-Caches/tmp_632679401/main.java:131: error: ';' expected german() ? "JETZT SPRECHEN!" : "TALK NOW!"); ^ /root/JavaX-Caches/tmp_632679401/main.java:132: error: unclosed character literal callOptMC('oh); ^ /root/JavaX-Caches/tmp_632679401/main.java:132: error: not a statement callOptMC('oh); ^ /root/JavaX-Caches/tmp_632679401/main.java:132: error: ';' expected callOptMC('oh); ^ /root/JavaX-Caches/tmp_632679401/main.java:149: error: unclosed character literal callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_632679401/main.java:149: error: not a statement callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_632679401/main.java:149: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_632679401/main.java:149: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_632679401/main.java:149: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_632679401/main.java:168: error: unclosed character literal callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_632679401/main.java:168: error: not a statement callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_632679401/main.java:168: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_632679401/main.java:168: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_632679401/main.java:168: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_632679401/main.java:190: error: class, interface, or enum expected svoid onInput(S _s, final bool typed) { ^ /root/JavaX-Caches/tmp_632679401/main.java:190: error: class, interface, or enum expected svoid onInput(S _s, final bool typed) { ^ /root/JavaX-Caches/tmp_632679401/main.java:191: error: class, interface, or enum expected fS s = trim(_s); if (empty(s)) ret; ^ /root/JavaX-Caches/tmp_632679401/main.java:192: error: class, interface, or enum expected thread "onInput" { ^ /root/JavaX-Caches/tmp_632679401/main.java:196: error: class, interface, or enum expected aSetText(userTextView, lang("You: ", "Du: ") + s); ^ /root/JavaX-Caches/tmp_632679401/main.java:197: error: class, interface, or enum expected aPutViewBehindOtherView(userTextView, myTextView); ^ /root/JavaX-Caches/tmp_632679401/main.java:199: error: class, interface, or enum expected showText( ^ /root/JavaX-Caches/tmp_632679401/main.java:206: error: class, interface, or enum expected final boolean goodbye = match3("goodbye", s) || match3("bye", s) || match3("tsch\u00fcss", s) || match3("tsch\u00fcss ...", s); ^ /root/JavaX-Caches/tmp_632679401/main.java:210: error: class, interface, or enum expected history.add(s); ^ /root/JavaX-Caches/tmp_632679401/main.java:212: error: class, interface, or enum expected handleCommand(s); ^ /root/JavaX-Caches/tmp_632679401/main.java:214: error: class, interface, or enum expected S answer; ^ /root/JavaX-Caches/tmp_632679401/main.java:215: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_632679401/main.java:217: error: class, interface, or enum expected } catch (Throwable e) { ^ /root/JavaX-Caches/tmp_632679401/main.java:219: error: class, interface, or enum expected appendToFile(getProgramFile("errors.txt"), getTheStackTrace(e)); ^ /root/JavaX-Caches/tmp_632679401/main.java:220: error: class, interface, or enum expected answer = "Fehler"; ^ /root/JavaX-Caches/tmp_632679401/main.java:221: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_632679401/main.java:226: error: class, interface, or enum expected androidUI(r { ^ /root/JavaX-Caches/tmp_632679401/main.java:229: error: class, interface, or enum expected sr.destroy(); ^ /root/JavaX-Caches/tmp_632679401/main.java:231: error: class, interface, or enum expected callOpt(getMainClass(), "disappear"); ^ /root/JavaX-Caches/tmp_632679401/main.java:232: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_632679401/main.java:234: error: class, interface, or enum expected listening = false; ^ /root/JavaX-Caches/tmp_632679401/main.java:236: error: class, interface, or enum expected if (!manualMode) ^ /root/JavaX-Caches/tmp_632679401/main.java:238: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_632679401/main.java:240: error: class, interface, or enum expected } // end of thread ^ 100 errors only showing the first 100 errors, of 206 total; use -Xmaxerrs if you would like to see more