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

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

/root/JavaX-Caches/tmp_356371512/main.java:1: error: class, interface, or enum expected static void makeSpeechCereproc(S text, S voice, File destMp3) ctex { ^ /root/JavaX-Caches/tmp_356371512/main.java:4: error: class, interface, or enum expected S post = "<speakExtended key='p86ffzyal3tvgqfr'><voice>" + htmlencode(voice) + "</voice><text>" + /*htmlencode*/(text) + "</text><audioFormat>" + format + "</audioFormat>\n" + ^ /root/JavaX-Caches/tmp_356371512/main.java:7: error: class, interface, or enum expected S url = "https://www.cereproc.com/livedemo.php"; ^ /root/JavaX-Caches/tmp_356371512/main.java:8: error: class, interface, or enum expected URL _url = new URL(url); ^ /root/JavaX-Caches/tmp_356371512/main.java:9: error: class, interface, or enum expected URLConnection conn = _url.openConnection(); ^ /root/JavaX-Caches/tmp_356371512/main.java:10: error: class, interface, or enum expected conn.setRequestProperty("Content-Type", "text/plain;charset=UTF-8"); ^ /root/JavaX-Caches/tmp_356371512/main.java:11: error: class, interface, or enum expected conn.setRequestProperty("Accept", "*/*"); ^ /root/JavaX-Caches/tmp_356371512/main.java:12: error: class, interface, or enum expected conn.setRequestProperty("Accept-Encoding", "gzip, deflate"); ^ /root/JavaX-Caches/tmp_356371512/main.java:13: error: class, interface, or enum expected conn.setRequestProperty("Accept-Language", "en-US,en;q=0.8,de;q=0.6"); ^ /root/JavaX-Caches/tmp_356371512/main.java:14: error: class, interface, or enum expected conn.setRequestProperty("Cookie", "has_js=1; Drupal.visitor.liveDemo=p86ffzyal3tvgqfr; _ga=GA1.2.1406621623.1444122980; _gat=1"); ^ /root/JavaX-Caches/tmp_356371512/main.java:15: error: class, interface, or enum expected conn.setRequestProperty("Origin", "https://www.cereproc.com"); ^ /root/JavaX-Caches/tmp_356371512/main.java:16: error: class, interface, or enum expected conn.setRequestProperty("Referer", "https://www.cereproc.com/"); ^ /root/JavaX-Caches/tmp_356371512/main.java:17: error: class, interface, or enum expected conn.setRequestProperty("User-Agent", "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/44.0.2403.89 Chrome/44.0.2403.89 Safari/537.36"); ^ /root/JavaX-Caches/tmp_356371512/main.java:19: error: class, interface, or enum expected conn.setDoOutput(true); ^ /root/JavaX-Caches/tmp_356371512/main.java:21: error: class, interface, or enum expected OutputStreamWriter writer = new OutputStreamWriter(conn.getOutputStream()); ^ /root/JavaX-Caches/tmp_356371512/main.java:22: error: class, interface, or enum expected writer.write(post); ^ /root/JavaX-Caches/tmp_356371512/main.java:23: error: class, interface, or enum expected writer.flush(); ^ /root/JavaX-Caches/tmp_356371512/main.java:25: error: class, interface, or enum expected S encoding = conn.getContentEncoding(); ^ /root/JavaX-Caches/tmp_356371512/main.java:28: error: class, interface, or enum expected S contentType = conn.getContentType(); ^ /root/JavaX-Caches/tmp_356371512/main.java:31: error: class, interface, or enum expected byte[] response = loadBinaryPage(conn); ^ /root/JavaX-Caches/tmp_356371512/main.java:34: error: class, interface, or enum expected if ("gzip".equals(encoding)) ^ /root/JavaX-Caches/tmp_356371512/main.java:38: error: class, interface, or enum expected S s = new String(response, "UTF-8"); ^ /root/JavaX-Caches/tmp_356371512/main.java:41: error: class, interface, or enum expected S oggUrl = null; ^ /root/JavaX-Caches/tmp_356371512/main.java:42: error: class, interface, or enum expected L<S> tok = htmlcoarsetok(s); ^ /root/JavaX-Caches/tmp_356371512/main.java:43: error: class, interface, or enum expected for (int i = 1; i < tok.size(); i += 2) ^ /root/JavaX-Caches/tmp_356371512/main.java:43: error: class, interface, or enum expected for (int i = 1; i < tok.size(); i += 2) ^ /root/JavaX-Caches/tmp_356371512/main.java:43: error: class, interface, or enum expected for (int i = 1; i < tok.size(); i += 2) ^ /root/JavaX-Caches/tmp_356371512/main.java:46: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_356371512/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_356371512/main.java:50: error: class, interface, or enum expected byte[] ogg = loadBinaryPage(oggUrl); ^ /root/JavaX-Caches/tmp_356371512/main.java:52: error: class, interface, or enum expected saveBinaryFile(destMp3, ogg); ^ /root/JavaX-Caches/tmp_356371512/main.java:54: error: class, interface, or enum expected } ^ 32 errors