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

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

/root/JavaX-Caches/tmp_396202457/main.java:1: error: class, interface, or enum expected sclass DownloadVideo { ^ /root/JavaX-Caches/tmp_396202457/main.java:3: error: class, interface, or enum expected File dir = downloadedVideoDir(); ^ /root/JavaX-Caches/tmp_396202457/main.java:4: error: class, interface, or enum expected new LS options; ^ /root/JavaX-Caches/tmp_396202457/main.java:5: error: class, interface, or enum expected S extension = ".mp4"; ^ /root/JavaX-Caches/tmp_396202457/main.java:6: error: class, interface, or enum expected S formatString = dropDotPrefix(extension); ^ /root/JavaX-Caches/tmp_396202457/main.java:10: error: class, interface, or enum expected int maxFileSizeInMB = 100; ^ /root/JavaX-Caches/tmp_396202457/main.java:12: error: class, interface, or enum expected S cmd; ^ /root/JavaX-Caches/tmp_396202457/main.java:14: error: class, interface, or enum expected *(WithURL<?> url) { ^ /root/JavaX-Caches/tmp_396202457/main.java:16: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_396202457/main.java:20: error: class, interface, or enum expected options.add("--write-annotations --write-thumbnail --print-json --restrict-filenames"; ^ /root/JavaX-Caches/tmp_396202457/main.java:22: error: class, interface, or enum expected options.add("-f " + pqO(formatString)); ^ /root/JavaX-Caches/tmp_396202457/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_396202457/main.java:28: error: class, interface, or enum expected installFFMPEGIfMissing(); ^ /root/JavaX-Caches/tmp_396202457/main.java:30: error: class, interface, or enum expected options.add("--max-filesize " + maxFileSizeInMB + "m"); ^ /root/JavaX-Caches/tmp_396202457/main.java:32: error: class, interface, or enum expected S fn = md5FileName(url); ^ /root/JavaX-Caches/tmp_396202457/main.java:33: error: class, interface, or enum expected File infoFile = newFile(dir, fn + ".info"); ^ /root/JavaX-Caches/tmp_396202457/main.java:34: error: class, interface, or enum expected S json = loadTextFile(infoFile); ^ /root/JavaX-Caches/tmp_396202457/main.java:35: error: class, interface, or enum expected if (isPossibleJSONMap(json)) { ^ /root/JavaX-Caches/tmp_396202457/main.java:37: error: class, interface, or enum expected if (fileExists(dm!)) ret dm; ^ /root/JavaX-Caches/tmp_396202457/main.java:38: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_396202457/main.java:42: error: class, interface, or enum expected cmd = pqO(installYouTubeDL()) ^ /root/JavaX-Caches/tmp_396202457/main.java:46: error: class, interface, or enum expected saveTextFile(newFile(dir, fn + ".cmd"), cmd); ^ /root/JavaX-Caches/tmp_396202457/main.java:48: error: class, interface, or enum expected S output = backtick_verbose(cmd); ^ /root/JavaX-Caches/tmp_396202457/main.java:49: error: class, interface, or enum expected saveTextFile(infoFile, output); ^ /root/JavaX-Caches/tmp_396202457/main.java:50: error: class, interface, or enum expected ret new DownloadedMedia(cmd, output, extension); ^ /root/JavaX-Caches/tmp_396202457/main.java:51: error: class, interface, or enum expected } ^ 26 errors