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

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

/root/JavaX-Caches/tmp_1763389624/main.java:3: error: class, interface, or enum expected static void wallpaper(S imageID) { ^ /root/JavaX-Caches/tmp_1763389624/main.java:5: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1763389624/main.java:11: error: class, interface, or enum expected if (isLinux()) { ^ /root/JavaX-Caches/tmp_1763389624/main.java:13: error: class, interface, or enum expected S cmd = "pcmanfm " + bashQuote("--set-wallpaper=" + img1) ^ /root/JavaX-Caches/tmp_1763389624/main.java:15: error: class, interface, or enum expected print(backtick(cmd)); ^ /root/JavaX-Caches/tmp_1763389624/main.java:16: error: class, interface, or enum expected } else if (isWindows()) { ^ /root/JavaX-Caches/tmp_1763389624/main.java:17: error: illegal character: '#' File img = prepareProgramFile(#1004273, img1.getName() + ".bmp"); ^ /root/JavaX-Caches/tmp_1763389624/main.java:18: error: class, interface, or enum expected saveBMP(loadImage2(img1), img); ^ /root/JavaX-Caches/tmp_1763389624/main.java:19: error: class, interface, or enum expected assertTrue(img.getAbsolutePath(), img.isFile()); ^ /root/JavaX-Caches/tmp_1763389624/main.java:21: error: class, interface, or enum expected S cmd = "reg add \"HKEY_CURRENT_USER\\Control Panel\\Desktop\" /v Wallpaper /t REG_SZ /d " + bashQuote(img) + " /f"; ^ /root/JavaX-Caches/tmp_1763389624/main.java:22: error: class, interface, or enum expected backtick(cmd); ^ /root/JavaX-Caches/tmp_1763389624/main.java:26: error: class, interface, or enum expected cmd = "reg add \"HKEY_CURRENT_USER\\Control Panel\\Desktop\" /v WallpaperStyle /t REG_SZ /d " + 0 + " /f"; ^ /root/JavaX-Caches/tmp_1763389624/main.java:27: error: class, interface, or enum expected backtick(cmd); ^ /root/JavaX-Caches/tmp_1763389624/main.java:28: error: class, interface, or enum expected cmd = "reg add \"HKEY_CURRENT_USER\\Control Panel\\Desktop\" /v TileWallpaper /t REG_SZ /d " + 0 + " /f"; ^ /root/JavaX-Caches/tmp_1763389624/main.java:29: error: class, interface, or enum expected backtick(cmd); ^ /root/JavaX-Caches/tmp_1763389624/main.java:31: error: class, interface, or enum expected cmd = "RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters"; ^ /root/JavaX-Caches/tmp_1763389624/main.java:32: error: class, interface, or enum expected backtick(cmd); ^ /root/JavaX-Caches/tmp_1763389624/main.java:33: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_1763389624/main.java:36: error: class, interface, or enum expected print("Wallpaper set (hopefully)!"); ^ /root/JavaX-Caches/tmp_1763389624/main.java:37: error: class, interface, or enum expected } ^ 20 errors