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

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

/root/JavaX-Caches/tmp_1849638698/main.java:15: error: class, interface, or enum expected static void aContinuousEnglishRecognition(O onSpeech) { ^ /root/JavaX-Caches/tmp_1849638698/main.java:17: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1849638698/main.java:21: error: class, interface, or enum expected final String TAG = "MyStt3Activity"; ^ /root/JavaX-Caches/tmp_1849638698/main.java:22: error: class, interface, or enum expected boolean loop = true; ^ /root/JavaX-Caches/tmp_1849638698/main.java:23: error: class, interface, or enum expected S language = "en-US"; ^ /root/JavaX-Caches/tmp_1849638698/main.java:24: error: class, interface, or enum expected O onSpeech, onReady, onUnready; ^ /root/JavaX-Caches/tmp_1849638698/main.java:26: error: class, interface, or enum expected *(O *onSpeech) {} ^ /root/JavaX-Caches/tmp_1849638698/main.java:32: error: class, interface, or enum expected makeNewObject(); ^ /root/JavaX-Caches/tmp_1849638698/main.java:33: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_1849638698/main.java:34: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1849638698/main.java:38: error: class, interface, or enum expected sr.setRecognitionListener(new listener()); ^ /root/JavaX-Caches/tmp_1849638698/main.java:39: error: class, interface, or enum expected go(); ^ /root/JavaX-Caches/tmp_1849638698/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1849638698/main.java:45: error: class, interface, or enum expected sr = null; ^ /root/JavaX-Caches/tmp_1849638698/main.java:46: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1849638698/main.java:112: error: class, interface, or enum expected void go() { ^ /root/JavaX-Caches/tmp_1849638698/main.java:114: error: class, interface, or enum expected intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); ^ /root/JavaX-Caches/tmp_1849638698/main.java:115: error: class, interface, or enum expected intent.putExtra(RecognizerIntent. ^ /root/JavaX-Caches/tmp_1849638698/main.java:117: error: class, interface, or enum expected intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); ^ /root/JavaX-Caches/tmp_1849638698/main.java:118: error: class, interface, or enum expected intent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE,"voice.recognition.test"); ^ /root/JavaX-Caches/tmp_1849638698/main.java:120: error: class, interface, or enum expected intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS,5); ^ /root/JavaX-Caches/tmp_1849638698/main.java:121: error: class, interface, or enum expected sr.startListening(intent); ^ /root/JavaX-Caches/tmp_1849638698/main.java:123: error: class, interface, or enum expected } ^ 23 errors