Wrote /root/JavaX-Caches/tmp_58237525/main.java - 2565 bytes (written=2565, should be 2565)
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:/root/.tinybrain/snippet-cache/1400526.jar:/root/.tinybrain/snippet-cache/1400527.jar:/root/.tinybrain/snippet-cache/1400528.jar:/root/.tinybrain/snippet-cache/1400529.jar -d /root/JavaX-Caches/tmp_1687121595 /root/JavaX-Caches/tmp_58237525/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_58237525/main.java:5: error: class, interface, or enum expected
!7
^
/root/JavaX-Caches/tmp_58237525/main.java:10: error: illegal character: '#'
sS megaLibID = #1400525;
^
/root/JavaX-Caches/tmp_58237525/main.java:16: error: class, interface, or enum expected
static BufferedImage image;
^
/root/JavaX-Caches/tmp_58237525/main.java:17: error: class, interface, or enum expected
static MediaPlayerFactory factory;
^
/root/JavaX-Caches/tmp_58237525/main.java:18: error: class, interface, or enum expected
static DirectMediaPlayer mediaPlayer;
^
/root/JavaX-Caches/tmp_58237525/main.java:19: error: class, interface, or enum expected
static int width, height;
^
/root/JavaX-Caches/tmp_58237525/main.java:21: error: class, interface, or enum expected
static FPSCounter fps;
^
/root/JavaX-Caches/tmp_58237525/main.java:23: error: class, interface, or enum expected
p {
^
/root/JavaX-Caches/tmp_58237525/main.java:25: error: class, interface, or enum expected
fixContextClassLoader();
^
/root/JavaX-Caches/tmp_58237525/main.java:27: error: class, interface, or enum expected
width = screenWidth();
^
/root/JavaX-Caches/tmp_58237525/main.java:28: error: class, interface, or enum expected
height = screenHeight();
^
/root/JavaX-Caches/tmp_58237525/main.java:29: error: class, interface, or enum expected
print(width + "/" + height);
^
/root/JavaX-Caches/tmp_58237525/main.java:31: error: class, interface, or enum expected
image = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().createCompatibleImage(width, height);
^
/root/JavaX-Caches/tmp_58237525/main.java:33: error: class, interface, or enum expected
image.setAccelerationPriority(1.0f);
^
/root/JavaX-Caches/tmp_58237525/main.java:35: error: class, interface, or enum expected
String mrl = "screen://";
^
/root/JavaX-Caches/tmp_58237525/main.java:36: error: class, interface, or enum expected
String[] options = {
^
/root/JavaX-Caches/tmp_58237525/main.java:44: error: class, interface, or enum expected
pnl(options);
^
/root/JavaX-Caches/tmp_58237525/main.java:45: error: class, interface, or enum expected
factory = new MediaPlayerFactory();
^
/root/JavaX-Caches/tmp_58237525/main.java:46: error: class, interface, or enum expected
mediaPlayer = factory.newDirectMediaPlayer(new TestBufferFormatCallback(), new TestRenderCallback());
^
/root/JavaX-Caches/tmp_58237525/main.java:47: error: class, interface, or enum expected
mediaPlayer.playMedia(mrl, options);
^
/root/JavaX-Caches/tmp_58237525/main.java:48: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_58237525/main.java:52: error: class, interface, or enum expected
public TestRenderCallback() {
^
/root/JavaX-Caches/tmp_58237525/main.java:54: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_58237525/main.java:57: error: class, interface, or enum expected
public void onDisplay(DirectMediaPlayer mediaPlayer, int[] data) {
^
/root/JavaX-Caches/tmp_58237525/main.java:59: error: class, interface, or enum expected
fps.inc();
^
/root/JavaX-Caches/tmp_58237525/main.java:60: error: class, interface, or enum expected
print("Got image data (" + n2(l(data)) + ") - " + fps! + " fps");
^
/root/JavaX-Caches/tmp_58237525/main.java:74: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_58237525/main.java:79: error: class, interface, or enum expected
public BufferFormat getBufferFormat(int sourceWidth, int sourceHeight) {
^
/root/JavaX-Caches/tmp_58237525/main.java:81: error: class, interface, or enum expected
}
^
29 errors