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

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

/root/JavaX-Caches/tmp_1474823962/main.java:2: error: class, interface, or enum expected lib 1000722 ^ /root/JavaX-Caches/tmp_1474823962/main.java:14: error: class, interface, or enum expected static Lock kevin_lock = fairLock(); ^ /root/JavaX-Caches/tmp_1474823962/main.java:16: error: class, interface, or enum expected sbool kevin_debug, kevin_disable, kevin_verbose; ^ /root/JavaX-Caches/tmp_1474823962/main.java:17: error: class, interface, or enum expected static Synthesizer kevin_synth; ^ /root/JavaX-Caches/tmp_1474823962/main.java:19: error: class, interface, or enum expected static float kevin_volume = 1f; ^ /root/JavaX-Caches/tmp_1474823962/main.java:20: error: class, interface, or enum expected static Float kevin_pitch, kevin_pitchRange, kevin_speakingRate; ^ /root/JavaX-Caches/tmp_1474823962/main.java:22: error: class, interface, or enum expected public static S kevin(String text) ctex { ^ /root/JavaX-Caches/tmp_1474823962/main.java:24: error: class, interface, or enum expected if (kevin_verbose) print("Kevin: " + text); ^ /root/JavaX-Caches/tmp_1474823962/main.java:25: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1474823962/main.java:28: error: class, interface, or enum expected if (kevin_synth == null) { ^ /root/JavaX-Caches/tmp_1474823962/main.java:31: error: class, interface, or enum expected System.setProperty("FreeTTSSynthEngineCentral", "com.sun.speech.freetts.jsapi.FreeTTSEngineCentral"); ^ /root/JavaX-Caches/tmp_1474823962/main.java:32: error: class, interface, or enum expected System.setProperty("freetts.voices", "com.sun.speech.freetts.en.us.cmu_us_kal.KevinVoiceDirectory"); ^ /root/JavaX-Caches/tmp_1474823962/main.java:33: error: class, interface, or enum expected Central.registerEngineCentral("com.sun.speech.freetts.jsapi.FreeTTSEngineCentral"); ^ /root/JavaX-Caches/tmp_1474823962/main.java:35: error: class, interface, or enum expected SynthesizerModeDesc desc = new SynthesizerModeDesc(null, "general", Locale.US, null, null); ^ /root/JavaX-Caches/tmp_1474823962/main.java:37: error: class, interface, or enum expected if (kevin_debug) print("Creating synth"); ^ /root/JavaX-Caches/tmp_1474823962/main.java:38: error: class, interface, or enum expected Synthesizer synth = kevin_synth = Central.createSynthesizer(desc); ^ /root/JavaX-Caches/tmp_1474823962/main.java:39: error: class, interface, or enum expected synth.allocate(); ^ /root/JavaX-Caches/tmp_1474823962/main.java:40: error: class, interface, or enum expected desc = (SynthesizerModeDesc) synth.getEngineModeDesc(); ^ /root/JavaX-Caches/tmp_1474823962/main.java:41: error: class, interface, or enum expected Voice[] voices = desc.getVoices(); ^ /root/JavaX-Caches/tmp_1474823962/main.java:42: error: class, interface, or enum expected Voice voice = null; ^ /root/JavaX-Caches/tmp_1474823962/main.java:43: error: class, interface, or enum expected for (Voice entry : voices) { ^ /root/JavaX-Caches/tmp_1474823962/main.java:46: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_1474823962/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1474823962/main.java:50: error: class, interface, or enum expected synth.getSynthesizerProperties().setVoice(voice); ^ /root/JavaX-Caches/tmp_1474823962/main.java:51: error: class, interface, or enum expected synth.resume(); ^ /root/JavaX-Caches/tmp_1474823962/main.java:52: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1474823962/main.java:55: error: class, interface, or enum expected props.setVolume(kevin_volume); ^ /root/JavaX-Caches/tmp_1474823962/main.java:56: error: class, interface, or enum expected if (kevin_pitch != null) props.setPitch(kevin_pitch); ^ /root/JavaX-Caches/tmp_1474823962/main.java:57: error: class, interface, or enum expected if (kevin_pitchRange != null) props.setPitchRange(kevin_pitchRange); ^ /root/JavaX-Caches/tmp_1474823962/main.java:58: error: class, interface, or enum expected if (kevin_speakingRate != null) props.setSpeakingRate(kevin_speakingRate); ^ /root/JavaX-Caches/tmp_1474823962/main.java:60: error: class, interface, or enum expected if (kevin_debug) print("Speaking..."); ^ /root/JavaX-Caches/tmp_1474823962/main.java:61: error: class, interface, or enum expected logStructureWithDate(cereprocLog(), litorderedmap(action := "Begin talking", voice := "Kevin", +text)); ^ /root/JavaX-Caches/tmp_1474823962/main.java:62: error: class, interface, or enum expected kevin_synth.speakPlainText(text, null); ^ /root/JavaX-Caches/tmp_1474823962/main.java:63: error: class, interface, or enum expected if (kevin_debug) print("Waiting"); ^ /root/JavaX-Caches/tmp_1474823962/main.java:65: error: class, interface, or enum expected long state; ^ /root/JavaX-Caches/tmp_1474823962/main.java:66: error: class, interface, or enum expected int n = 0; ^ /root/JavaX-Caches/tmp_1474823962/main.java:67: error: class, interface, or enum expected while (((state = kevin_synth.getEngineState()) & Synthesizer.QUEUE_EMPTY) != 0) { ^ /root/JavaX-Caches/tmp_1474823962/main.java:69: error: class, interface, or enum expected if (++n >= 10000/50) { ^ /root/JavaX-Caches/tmp_1474823962/main.java:71: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_1474823962/main.java:72: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1474823962/main.java:77: error: class, interface, or enum expected logStructureWithDate(cereprocLog(), litorderedmap(action := "End talking", voice := "Kevin", +text)); ^ /root/JavaX-Caches/tmp_1474823962/main.java:82: error: class, interface, or enum expected ret text; ^ /root/JavaX-Caches/tmp_1474823962/main.java:83: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_1474823962/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1474823962/main.java:90: error: class, interface, or enum expected } ^ 45 errors