Wrote /root/JavaX-Caches/tmp_1818388172/main.java - 306 bytes (written=306, should be 306)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 1.8 -target 1.8 -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_1168679553 /root/JavaX-Caches/tmp_1818388172/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1818388172/main.java:2: error: expected
public main: String[] args {
^
/root/JavaX-Caches/tmp_1818388172/main.java:2: error: ';' expected
public main: String[] args {
^
/root/JavaX-Caches/tmp_1818388172/main.java:3: error: not a statement
print "Smalltalk-style main function :)"
^
/root/JavaX-Caches/tmp_1818388172/main.java:3: error: ';' expected
print "Smalltalk-style main function :)"
^
/root/JavaX-Caches/tmp_1818388172/main.java:4: error: not a statement
compare: 3 and: 5;
^
/root/JavaX-Caches/tmp_1818388172/main.java:4: error: ';' expected
compare: 3 and: 5;
^
/root/JavaX-Caches/tmp_1818388172/main.java:4: error: not a statement
compare: 3 and: 5;
^
/root/JavaX-Caches/tmp_1818388172/main.java:5: error: not a statement
compare: 10 and: 2;
^
/root/JavaX-Caches/tmp_1818388172/main.java:5: error: ';' expected
compare: 10 and: 2;
^
/root/JavaX-Caches/tmp_1818388172/main.java:5: error: not a statement
compare: 10 and: 2;
^
/root/JavaX-Caches/tmp_1818388172/main.java:8: error: '(' expected
static void compare: int a and: int b {
^
/root/JavaX-Caches/tmp_1818388172/main.java:8: error: ';' expected
static void compare: int a and: int b {
^
/root/JavaX-Caches/tmp_1818388172/main.java:8: error: expected
static void compare: int a and: int b {
^
/root/JavaX-Caches/tmp_1818388172/main.java:8: error: ';' expected
static void compare: int a and: int b {
^
/root/JavaX-Caches/tmp_1818388172/main.java:10: error: not a statement
print "a is smaller than b"
^
/root/JavaX-Caches/tmp_1818388172/main.java:10: error: ';' expected
print "a is smaller than b"
^
/root/JavaX-Caches/tmp_1818388172/main.java:12: error: not a statement
print "a is not smaller than b"
^
/root/JavaX-Caches/tmp_1818388172/main.java:12: error: ';' expected
print "a is not smaller than b"
^
/root/JavaX-Caches/tmp_1818388172/main.java:11: error: 'else' without 'if'
else
^
19 errors