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

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

/root/JavaX-Caches/tmp_1848450133/main.java:1: error: class, interface, or enum expected sS witAI_recognizeAudio(File audioFile, S mimeType) { ^ /root/JavaX-Caches/tmp_1848450133/main.java:2: error: unclosed character literal ret witAI_recognizeAudio(audioFile, mimeType, 'english); ^ /root/JavaX-Caches/tmp_1848450133/main.java:3: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1848450133/main.java:7: error: class, interface, or enum expected print("Calling wit.ai with " + toK(audioFile.length()) + " K " + mimeType + "..."); ^ /root/JavaX-Caches/tmp_1848450133/main.java:8: error: class, interface, or enum expected long time = sysNow(); ^ /root/JavaX-Caches/tmp_1848450133/main.java:10: error: class, interface, or enum expected S token = witAITokenForLanguage(language); ^ /root/JavaX-Caches/tmp_1848450133/main.java:11: error: class, interface, or enum expected URL url = new URL("https://api.wit.ai/speech?v=20160526"); ^ /root/JavaX-Caches/tmp_1848450133/main.java:12: error: class, interface, or enum expected URLConnection con = url.openConnection(); ^ /root/JavaX-Caches/tmp_1848450133/main.java:13: error: class, interface, or enum expected con.setRequestProperty("Authorization", "Bearer " + token); ^ /root/JavaX-Caches/tmp_1848450133/main.java:14: error: class, interface, or enum expected con.setRequestProperty("Content-Type", mimeType); ^ /root/JavaX-Caches/tmp_1848450133/main.java:16: error: class, interface, or enum expected con.setDoOutput(true); ^ /root/JavaX-Caches/tmp_1848450133/main.java:17: error: class, interface, or enum expected OutputStream out = con.getOutputStream(); ^ /root/JavaX-Caches/tmp_1848450133/main.java:18: error: class, interface, or enum expected file2stream(audioFile, out); ^ /root/JavaX-Caches/tmp_1848450133/main.java:19: error: class, interface, or enum expected out.flush(); ^ /root/JavaX-Caches/tmp_1848450133/main.java:21: error: class, interface, or enum expected S json = loadPage(con, url); ^ /root/JavaX-Caches/tmp_1848450133/main.java:22: error: class, interface, or enum expected print(json); ^ /root/JavaX-Caches/tmp_1848450133/main.java:23: error: class, interface, or enum expected out.close(); ^ /root/JavaX-Caches/tmp_1848450133/main.java:24: error: class, interface, or enum expected done2_always("wit.ai", time); ^ /root/JavaX-Caches/tmp_1848450133/main.java:25: error: class, interface, or enum expected ret getString(jsonDecodeMap(json), "_text"); ^ /root/JavaX-Caches/tmp_1848450133/main.java:26: error: class, interface, or enum expected } ^ 20 errors