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

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

/root/JavaX-Caches/tmp_2103452398/main.java:1: error: class, interface, or enum expected set flag NoAWT. set flag Android. ^ /root/JavaX-Caches/tmp_2103452398/main.java:16: error: class, interface, or enum expected sS earURL = "http://botcompany.de:8083"; ^ /root/JavaX-Caches/tmp_2103452398/main.java:18: error: class, interface, or enum expected static SpeechRecognizer sr; ^ /root/JavaX-Caches/tmp_2103452398/main.java:19: error: class, interface, or enum expected static final String TAG = "MyStt3Activity"; ^ /root/JavaX-Caches/tmp_2103452398/main.java:20: error: class, interface, or enum expected static S language = "en-US"; ^ /root/JavaX-Caches/tmp_2103452398/main.java:21: error: class, interface, or enum expected static int extraResults = 1; ^ /root/JavaX-Caches/tmp_2103452398/main.java:23: error: class, interface, or enum expected static bool fastSynthesis = false; // use device voice (faster) ^ /root/JavaX-Caches/tmp_2103452398/main.java:24: error: class, interface, or enum expected static bool noSpeech = false; // disable speech output ^ /root/JavaX-Caches/tmp_2103452398/main.java:26: error: class, interface, or enum expected static bool manualMode = false; // Start recognition on click only ^ /root/JavaX-Caches/tmp_2103452398/main.java:27: error: class, interface, or enum expected sbool muteAlways, printErrors; ^ /root/JavaX-Caches/tmp_2103452398/main.java:28: error: class, interface, or enum expected sbool listenAfterTalk = true; // it works now ^ /root/JavaX-Caches/tmp_2103452398/main.java:30: error: class, interface, or enum expected static volatile bool listening, recognitionCancelled; ^ /root/JavaX-Caches/tmp_2103452398/main.java:32: error: class, interface, or enum expected static new L<S> history; ^ /root/JavaX-Caches/tmp_2103452398/main.java:33: error: class, interface, or enum expected static Lock speechLock = lock(); ^ /root/JavaX-Caches/tmp_2103452398/main.java:35: 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_2103452398/main.java:37: error: class, interface, or enum expected static L<S> emotions = litlist( ^ /root/JavaX-Caches/tmp_2103452398/main.java:44: error: class, interface, or enum expected static float statusFontSize = /*25*/17; ^ /root/JavaX-Caches/tmp_2103452398/main.java:45: error: class, interface, or enum expected static float userFontSize = 25; ^ /root/JavaX-Caches/tmp_2103452398/main.java:46: error: class, interface, or enum expected static float myFontSize = 25; ^ /root/JavaX-Caches/tmp_2103452398/main.java:47: error: class, interface, or enum expected static int borderColor = 0xFFFFFFFF; ^ /root/JavaX-Caches/tmp_2103452398/main.java:48: error: class, interface, or enum expected static int waitColor = /*0xFFFF0000*/ 0xFFFFFF00; // yellow ^ /root/JavaX-Caches/tmp_2103452398/main.java:49: error: class, interface, or enum expected static S lastEmotionImage, lastEmotion /*, onScreenText = ""*/; ^ /root/JavaX-Caches/tmp_2103452398/main.java:50: error: class, interface, or enum expected static ImageView emoView; ^ /root/JavaX-Caches/tmp_2103452398/main.java:51: error: class, interface, or enum expected static TextView statusView, userTextView, myTextView, lblInputView; ^ /root/JavaX-Caches/tmp_2103452398/main.java:52: error: class, interface, or enum expected static LinearLayout leftFlag, rightFlag; ^ /root/JavaX-Caches/tmp_2103452398/main.java:53: error: class, interface, or enum expected sS statusText; ^ /root/JavaX-Caches/tmp_2103452398/main.java:54: error: class, interface, or enum expected static EditText inputView; ^ /root/JavaX-Caches/tmp_2103452398/main.java:55: error: class, interface, or enum expected sbool recogOnActivate = true; // start listening when app activated ^ /root/JavaX-Caches/tmp_2103452398/main.java:56: error: class, interface, or enum expected sbool hideTitleBar; ^ /root/JavaX-Caches/tmp_2103452398/main.java:57: error: class, interface, or enum expected static CatConnector connector; ^ /root/JavaX-Caches/tmp_2103452398/main.java:58: error: class, interface, or enum expected static LS postponed = syncList(); // output lines postponed because user is speaking ^ /root/JavaX-Caches/tmp_2103452398/main.java:60: error: class, interface, or enum expected svoid androidCatMain { ^ /root/JavaX-Caches/tmp_2103452398/main.java:63: error: class, interface, or enum expected androidUnsetAdminMode(); ^ /root/JavaX-Caches/tmp_2103452398/main.java:64: error: class, interface, or enum expected removeMyselfAsInjection(); ^ /root/JavaX-Caches/tmp_2103452398/main.java:65: error: class, interface, or enum expected aShowStartScreen(); ^ /root/JavaX-Caches/tmp_2103452398/main.java:66: error: class, interface, or enum expected ret; ^ /root/JavaX-Caches/tmp_2103452398/main.java:67: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2103452398/main.java:71: error: class, interface, or enum expected androidSay_keepEngine = true; ^ /root/JavaX-Caches/tmp_2103452398/main.java:73: error: class, interface, or enum expected if (muteAlways) androidMuteAudio(); ^ /root/JavaX-Caches/tmp_2103452398/main.java:75: error: class, interface, or enum expected S hello = null; ^ /root/JavaX-Caches/tmp_2103452398/main.java:80: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_2103452398/main.java:83: error: class, interface, or enum expected if (hello == null) hello = german() ? "hallo" : "hello"; ^ /root/JavaX-Caches/tmp_2103452398/main.java:84: error: class, interface, or enum expected } catch (Throwable e) { ^ /root/JavaX-Caches/tmp_2103452398/main.java:86: error: class, interface, or enum expected return; ^ /root/JavaX-Caches/tmp_2103452398/main.java:87: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2103452398/main.java:92: error: class, interface, or enum expected listening = true; // so user can cancel early ^ /root/JavaX-Caches/tmp_2103452398/main.java:94: error: class, interface, or enum expected justASec(); // show interface ^ /root/JavaX-Caches/tmp_2103452398/main.java:95: error: class, interface, or enum expected callOptMC('happy); ^ /root/JavaX-Caches/tmp_2103452398/main.java:95: error: unclosed character literal callOptMC('happy); ^ /root/JavaX-Caches/tmp_2103452398/main.java:97: error: class, interface, or enum expected connector = new CatConnectorImpl(androidAssistant_token()); ^ /root/JavaX-Caches/tmp_2103452398/main.java:98: error: class, interface, or enum expected connector.startEar(vf<S> say); ^ /root/JavaX-Caches/tmp_2103452398/main.java:102: error: class, interface, or enum expected aAddMenuItems("Switch to manual mode", "Switch to auto mode"); ^ /root/JavaX-Caches/tmp_2103452398/main.java:105: error: class, interface, or enum expected if (german()) androidSayInGerman(""); else androidSayInEnglish(""); ^ /root/JavaX-Caches/tmp_2103452398/main.java:105: error: class, interface, or enum expected if (german()) androidSayInGerman(""); else androidSayInEnglish(""); ^ /root/JavaX-Caches/tmp_2103452398/main.java:107: error: class, interface, or enum expected if (recognitionCancelled) recognitionCancelled = false; ^ /root/JavaX-Caches/tmp_2103452398/main.java:108: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_2103452398/main.java:111: error: class, interface, or enum expected noMainDone(); ^ /root/JavaX-Caches/tmp_2103452398/main.java:112: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2103452398/main.java:117: error: class, interface, or enum expected sr = SpeechRecognizer.createSpeechRecognizer(androidActivity()); ^ /root/JavaX-Caches/tmp_2103452398/main.java:118: error: class, interface, or enum expected sr.setRecognitionListener(new listener()); ^ /root/JavaX-Caches/tmp_2103452398/main.java:119: error: class, interface, or enum expected recog(); ^ /root/JavaX-Caches/tmp_2103452398/main.java:120: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2103452398/main.java:127: error: not a statement ret; ^ /root/JavaX-Caches/tmp_2103452398/main.java:129: error: unclosed character literal callOptMC('setBorderAndStatus, 0xFF66FF66, ^ /root/JavaX-Caches/tmp_2103452398/main.java:129: error: not a statement callOptMC('setBorderAndStatus, 0xFF66FF66, ^ /root/JavaX-Caches/tmp_2103452398/main.java:129: error: ';' expected callOptMC('setBorderAndStatus, 0xFF66FF66, ^ /root/JavaX-Caches/tmp_2103452398/main.java:130: error: not a statement german() ? "JETZT SPRECHEN!" : "TALK NOW!"); ^ /root/JavaX-Caches/tmp_2103452398/main.java:130: error: ';' expected german() ? "JETZT SPRECHEN!" : "TALK NOW!"); ^ /root/JavaX-Caches/tmp_2103452398/main.java:131: error: unclosed character literal callOptMC('oh); ^ /root/JavaX-Caches/tmp_2103452398/main.java:131: error: not a statement callOptMC('oh); ^ /root/JavaX-Caches/tmp_2103452398/main.java:131: error: ';' expected callOptMC('oh); ^ /root/JavaX-Caches/tmp_2103452398/main.java:148: error: unclosed character literal callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_2103452398/main.java:148: error: not a statement callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_2103452398/main.java:148: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_2103452398/main.java:148: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_2103452398/main.java:148: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_2103452398/main.java:167: error: unclosed character literal callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_2103452398/main.java:167: error: not a statement callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_2103452398/main.java:167: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_2103452398/main.java:167: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_2103452398/main.java:167: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_2103452398/main.java:189: error: class, interface, or enum expected svoid onInput(S _s, final bool typed) { ^ /root/JavaX-Caches/tmp_2103452398/main.java:189: error: class, interface, or enum expected svoid onInput(S _s, final bool typed) { ^ /root/JavaX-Caches/tmp_2103452398/main.java:190: error: class, interface, or enum expected fS s = trim(_s); if (empty(s)) ret; ^ /root/JavaX-Caches/tmp_2103452398/main.java:191: error: class, interface, or enum expected thread "onInput" { ^ /root/JavaX-Caches/tmp_2103452398/main.java:193: error: class, interface, or enum expected aSetText(userTextView, lang("You: ", "Du: ") + s); ^ /root/JavaX-Caches/tmp_2103452398/main.java:194: error: class, interface, or enum expected aPutViewBehindOtherView(userTextView, myTextView); ^ /root/JavaX-Caches/tmp_2103452398/main.java:196: error: class, interface, or enum expected showText( ^ /root/JavaX-Caches/tmp_2103452398/main.java:203: 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_2103452398/main.java:207: error: class, interface, or enum expected history.add(s); ^ /root/JavaX-Caches/tmp_2103452398/main.java:209: error: class, interface, or enum expected handleCommand(s); ^ /root/JavaX-Caches/tmp_2103452398/main.java:211: error: class, interface, or enum expected S answer; ^ /root/JavaX-Caches/tmp_2103452398/main.java:212: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_2103452398/main.java:214: error: class, interface, or enum expected } catch (Throwable e) { ^ /root/JavaX-Caches/tmp_2103452398/main.java:216: error: class, interface, or enum expected appendToFile(getProgramFile("errors.txt"), getTheStackTrace(e)); ^ /root/JavaX-Caches/tmp_2103452398/main.java:217: error: class, interface, or enum expected answer = "Fehler"; ^ /root/JavaX-Caches/tmp_2103452398/main.java:218: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2103452398/main.java:223: error: class, interface, or enum expected androidUI(r { ^ /root/JavaX-Caches/tmp_2103452398/main.java:226: error: class, interface, or enum expected sr.destroy(); ^ /root/JavaX-Caches/tmp_2103452398/main.java:228: error: class, interface, or enum expected callOpt(getMainClass(), "disappear"); ^ 100 errors only showing the first 100 errors, of 226 total; use -Xmaxerrs if you would like to see more