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

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

/root/JavaX-Caches/tmp_1550569490/main.java:64: error: illegal start of type *(BufferedImage image) ctex { ^ /root/JavaX-Caches/tmp_1550569490/main.java:64: error: ';' expected *(BufferedImage image) ctex { ^ /root/JavaX-Caches/tmp_1550569490/main.java:64: error: <identifier> expected *(BufferedImage image) ctex { ^ /root/JavaX-Caches/tmp_1550569490/main.java:98: error: '.class' expected ret (byte) ((r+g+b)/3.0f*255f); ^ /root/JavaX-Caches/tmp_1550569490/main.java:98: error: ';' expected ret (byte) ((r+g+b)/3.0f*255f); ^ /root/JavaX-Caches/tmp_1550569490/main.java:98: error: not a statement ret (byte) ((r+g+b)/3.0f*255f); ^ /root/JavaX-Caches/tmp_1550569490/main.java:98: error: ';' expected ret (byte) ((r+g+b)/3.0f*255f); ^ /root/JavaX-Caches/tmp_1550569490/main.java:143: error: ';' expected float getPixel(Pt p) { ret getPixel(p.x, p.y); } ^ /root/JavaX-Caches/tmp_1550569490/main.java:143: error: not a statement float getPixel(Pt p) { ret getPixel(p.x, p.y); } ^ /root/JavaX-Caches/tmp_1550569490/main.java:143: error: ';' expected float getPixel(Pt p) { ret getPixel(p.x, p.y); } ^ /root/JavaX-Caches/tmp_1550569490/main.java:143: error: not a statement float getPixel(Pt p) { ret getPixel(p.x, p.y); } ^ /root/JavaX-Caches/tmp_1550569490/main.java:143: error: ';' expected float getPixel(Pt p) { ret getPixel(p.x, p.y); } ^ /root/JavaX-Caches/tmp_1550569490/main.java:193: error: ';' expected ret clip(r.getRectangle()); ^ /root/JavaX-Caches/tmp_1550569490/main.java:193: error: ';' expected ret clip(r.getRectangle()); ^ /root/JavaX-Caches/tmp_1550569490/main.java:248: error: ';' expected ret storage.pixels; ^ /root/JavaX-Caches/tmp_1550569490/main.java:248: error: not a statement ret storage.pixels; ^ 16 errors