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

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

/root/JavaX-Caches/tmp_924936249/main.java:1: error: class, interface, or enum expected set flag NoAWT. set flag Android. set flag AndroidOnly. ^ /root/JavaX-Caches/tmp_924936249/main.java:16: error: class, interface, or enum expected static SpeechRecognizer sr; ^ /root/JavaX-Caches/tmp_924936249/main.java:17: error: class, interface, or enum expected static final String TAG = "MyStt3Activity"; ^ /root/JavaX-Caches/tmp_924936249/main.java:18: error: class, interface, or enum expected static S language = "en-US"; ^ /root/JavaX-Caches/tmp_924936249/main.java:19: error: class, interface, or enum expected static int extraResults = 1; ^ /root/JavaX-Caches/tmp_924936249/main.java:21: error: class, interface, or enum expected static bool fastSynthesis = false; // use device voice (faster) ^ /root/JavaX-Caches/tmp_924936249/main.java:22: error: class, interface, or enum expected static bool noSpeech = false; // disable speech output ^ /root/JavaX-Caches/tmp_924936249/main.java:24: error: class, interface, or enum expected static bool manualMode = false; // Start recognition on click only ^ /root/JavaX-Caches/tmp_924936249/main.java:25: error: class, interface, or enum expected sbool muteAlways, printErrors; ^ /root/JavaX-Caches/tmp_924936249/main.java:26: error: class, interface, or enum expected sbool listenAfterTalk = true; // it works now ^ /root/JavaX-Caches/tmp_924936249/main.java:28: error: class, interface, or enum expected static volatile bool listening, recognitionCancelled; ^ /root/JavaX-Caches/tmp_924936249/main.java:30: error: class, interface, or enum expected static new L<S> history; ^ /root/JavaX-Caches/tmp_924936249/main.java:31: error: class, interface, or enum expected static Lock speechLock = lock(); ^ /root/JavaX-Caches/tmp_924936249/main.java:33: error: class, interface, or enum expected svoid leoMain { ^ /root/JavaX-Caches/tmp_924936249/main.java:36: error: class, interface, or enum expected androidUnsetAdminMode(); ^ /root/JavaX-Caches/tmp_924936249/main.java:37: error: class, interface, or enum expected removeMyselfAsInjection(); ^ /root/JavaX-Caches/tmp_924936249/main.java:38: error: class, interface, or enum expected aShowStartScreen(); ^ /root/JavaX-Caches/tmp_924936249/main.java:39: error: class, interface, or enum expected ret; ^ /root/JavaX-Caches/tmp_924936249/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_924936249/main.java:44: error: class, interface, or enum expected androidSay_keepEngine = true; ^ /root/JavaX-Caches/tmp_924936249/main.java:46: error: class, interface, or enum expected if (muteAlways) androidMuteAudio(); ^ /root/JavaX-Caches/tmp_924936249/main.java:48: error: class, interface, or enum expected S hello = null; ^ /root/JavaX-Caches/tmp_924936249/main.java:53: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_924936249/main.java:56: error: class, interface, or enum expected if (hello == null) hello = german() ? "hallo" : "hello"; ^ /root/JavaX-Caches/tmp_924936249/main.java:57: error: class, interface, or enum expected } catch (Throwable e) { ^ /root/JavaX-Caches/tmp_924936249/main.java:59: error: class, interface, or enum expected return; ^ /root/JavaX-Caches/tmp_924936249/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_924936249/main.java:65: error: class, interface, or enum expected listening = true; // so user can cancel early ^ /root/JavaX-Caches/tmp_924936249/main.java:67: error: class, interface, or enum expected justASec(); // show interface ^ /root/JavaX-Caches/tmp_924936249/main.java:68: error: class, interface, or enum expected callOptMC('happy); ^ /root/JavaX-Caches/tmp_924936249/main.java:68: error: unclosed character literal callOptMC('happy); ^ /root/JavaX-Caches/tmp_924936249/main.java:70: error: class, interface, or enum expected thread "Long-Poll" { ^ /root/JavaX-Caches/tmp_924936249/main.java:75: error: class, interface, or enum expected if (nempty(action)) ^ /root/JavaX-Caches/tmp_924936249/main.java:77: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_924936249/main.java:85: error: class, interface, or enum expected if (german()) androidSayInGerman(""); else androidSayInEnglish(""); ^ /root/JavaX-Caches/tmp_924936249/main.java:85: error: class, interface, or enum expected if (german()) androidSayInGerman(""); else androidSayInEnglish(""); ^ /root/JavaX-Caches/tmp_924936249/main.java:87: error: class, interface, or enum expected if (recognitionCancelled) recognitionCancelled = false; ^ /root/JavaX-Caches/tmp_924936249/main.java:88: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_924936249/main.java:91: error: class, interface, or enum expected noMainDone(); ^ /root/JavaX-Caches/tmp_924936249/main.java:92: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_924936249/main.java:97: error: class, interface, or enum expected sr = SpeechRecognizer.createSpeechRecognizer(androidActivity()); ^ /root/JavaX-Caches/tmp_924936249/main.java:98: error: class, interface, or enum expected sr.setRecognitionListener(new listener()); ^ /root/JavaX-Caches/tmp_924936249/main.java:99: error: class, interface, or enum expected recog(); ^ /root/JavaX-Caches/tmp_924936249/main.java:100: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_924936249/main.java:107: error: not a statement ret; ^ /root/JavaX-Caches/tmp_924936249/main.java:109: error: unclosed character literal callOptMC('setBorderAndStatus, 0xFF66FF66, ^ /root/JavaX-Caches/tmp_924936249/main.java:109: error: not a statement callOptMC('setBorderAndStatus, 0xFF66FF66, ^ /root/JavaX-Caches/tmp_924936249/main.java:109: error: ';' expected callOptMC('setBorderAndStatus, 0xFF66FF66, ^ /root/JavaX-Caches/tmp_924936249/main.java:110: error: not a statement german() ? "JETZT SPRECHEN!" : "TALK NOW!"); ^ /root/JavaX-Caches/tmp_924936249/main.java:110: error: ';' expected german() ? "JETZT SPRECHEN!" : "TALK NOW!"); ^ /root/JavaX-Caches/tmp_924936249/main.java:111: error: unclosed character literal callOptMC('oh); ^ /root/JavaX-Caches/tmp_924936249/main.java:111: error: not a statement callOptMC('oh); ^ /root/JavaX-Caches/tmp_924936249/main.java:111: error: ';' expected callOptMC('oh); ^ /root/JavaX-Caches/tmp_924936249/main.java:128: error: unclosed character literal callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_924936249/main.java:128: error: not a statement callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_924936249/main.java:128: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_924936249/main.java:128: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_924936249/main.java:128: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_924936249/main.java:147: error: unclosed character literal callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_924936249/main.java:147: error: not a statement callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_924936249/main.java:147: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_924936249/main.java:147: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_924936249/main.java:147: error: ';' expected callOptMC('setBorderAndStatus, aWhite(), baseStatus()); ^ /root/JavaX-Caches/tmp_924936249/main.java:169: error: class, interface, or enum expected svoid onInput(S _s, final bool typed) { ^ /root/JavaX-Caches/tmp_924936249/main.java:169: error: class, interface, or enum expected svoid onInput(S _s, final bool typed) { ^ /root/JavaX-Caches/tmp_924936249/main.java:170: error: class, interface, or enum expected fS s = trim(_s); if (empty(s)) ret; ^ /root/JavaX-Caches/tmp_924936249/main.java:171: error: class, interface, or enum expected thread "onInput" { ^ /root/JavaX-Caches/tmp_924936249/main.java:175: error: class, interface, or enum expected aSetText(userTextView, lang("You: ", "Du: ") + s); ^ /root/JavaX-Caches/tmp_924936249/main.java:176: error: class, interface, or enum expected aPutViewBehindOtherView(userTextView, myTextView); ^ /root/JavaX-Caches/tmp_924936249/main.java:178: error: class, interface, or enum expected showText( ^ /root/JavaX-Caches/tmp_924936249/main.java:185: 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_924936249/main.java:189: error: class, interface, or enum expected history.add(s); ^ /root/JavaX-Caches/tmp_924936249/main.java:191: error: class, interface, or enum expected handleCommand(s); ^ /root/JavaX-Caches/tmp_924936249/main.java:193: error: class, interface, or enum expected S answer; ^ /root/JavaX-Caches/tmp_924936249/main.java:194: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_924936249/main.java:196: error: class, interface, or enum expected } catch (Throwable e) { ^ /root/JavaX-Caches/tmp_924936249/main.java:198: error: class, interface, or enum expected appendToFile(getProgramFile("errors.txt"), getTheStackTrace(e)); ^ /root/JavaX-Caches/tmp_924936249/main.java:199: error: class, interface, or enum expected answer = "Fehler"; ^ /root/JavaX-Caches/tmp_924936249/main.java:200: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_924936249/main.java:205: error: class, interface, or enum expected androidUI(r { ^ /root/JavaX-Caches/tmp_924936249/main.java:208: error: class, interface, or enum expected sr.destroy(); ^ /root/JavaX-Caches/tmp_924936249/main.java:210: error: class, interface, or enum expected callOpt(getMainClass(), "disappear"); ^ /root/JavaX-Caches/tmp_924936249/main.java:211: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_924936249/main.java:213: error: class, interface, or enum expected listening = false; ^ /root/JavaX-Caches/tmp_924936249/main.java:215: error: class, interface, or enum expected if (!manualMode) ^ /root/JavaX-Caches/tmp_924936249/main.java:217: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_924936249/main.java:219: error: class, interface, or enum expected } // end of thread ^ /root/JavaX-Caches/tmp_924936249/main.java:224: error: class, interface, or enum expected print("recog"); ^ /root/JavaX-Caches/tmp_924936249/main.java:225: error: class, interface, or enum expected listening = true; ^ /root/JavaX-Caches/tmp_924936249/main.java:226: error: class, interface, or enum expected justASec(); ^ /root/JavaX-Caches/tmp_924936249/main.java:227: error: class, interface, or enum expected Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); ^ /root/JavaX-Caches/tmp_924936249/main.java:228: error: class, interface, or enum expected intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); ^ /root/JavaX-Caches/tmp_924936249/main.java:229: error: class, interface, or enum expected intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); ^ /root/JavaX-Caches/tmp_924936249/main.java:230: error: class, interface, or enum expected intent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE,"voice.recognition.test"); ^ /root/JavaX-Caches/tmp_924936249/main.java:232: error: class, interface, or enum expected intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, extraResults); ^ /root/JavaX-Caches/tmp_924936249/main.java:235: error: class, interface, or enum expected callOpt(mc(), "recogTimeSettings", intent); ^ /root/JavaX-Caches/tmp_924936249/main.java:237: error: class, interface, or enum expected sr.startListening(intent); ^ /root/JavaX-Caches/tmp_924936249/main.java:238: error: class, interface, or enum expected print("started listening"); ^ /root/JavaX-Caches/tmp_924936249/main.java:239: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_924936249/main.java:243: error: class, interface, or enum expected lock speechLock; ^ 100 errors only showing the first 100 errors, of 148 total; use -Xmaxerrs if you would like to see more