Wrote /root/JavaX-Caches/tmp_1605869422/main.java - 220834 bytes (written=220834, should be 220834) 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/data_1013739.jar -d /root/JavaX-Caches/tmp_29785498 /root/JavaX-Caches/tmp_1605869422/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_1605869422/main.java:68: error: incompatible types: Pair cannot be converted to PApplet2 return pMain2(mc()); ^ /root/JavaX-Caches/tmp_1605869422/main.java:78: error: cannot find symbol uncaughtThrowable = e; ^ symbol: variable uncaughtThrowable /root/JavaX-Caches/tmp_1605869422/main.java:105: error: cannot find symbol String folder = calcSketchPath(); ^ symbol: method calcSketchPath() location: class main /root/JavaX-Caches/tmp_1605869422/main.java:112: error: cannot find symbol if (param.equals(ARGS_EDITOR_LOCATION)) { ^ symbol: variable ARGS_EDITOR_LOCATION location: class main /root/JavaX-Caches/tmp_1605869422/main.java:114: error: cannot find symbol editorLocation = parseInt(split(value, ',')); ^ symbol: method split(String,char) location: class main /root/JavaX-Caches/tmp_1605869422/main.java:115: error: cannot find symbol } else if (param.equals(ARGS_DISPLAY)) { ^ symbol: variable ARGS_DISPLAY location: class main /root/JavaX-Caches/tmp_1605869422/main.java:116: error: no suitable method found for parseInt(String,int) displayNum = parseInt(value, -1); ^ method main.parseInt(String) is not applicable (actual and formal argument lists differ in length) method main.parseInt(char) is not applicable (actual and formal argument lists differ in length) /root/JavaX-Caches/tmp_1605869422/main.java:118: error: cannot find symbol System.err.println("Could not parse " + value + " for " + ARGS_DISPLAY); ^ symbol: variable ARGS_DISPLAY location: class main /root/JavaX-Caches/tmp_1605869422/main.java:120: error: cannot find symbol } else if (param.equals(ARGS_WINDOW_COLOR)) { ^ symbol: variable ARGS_WINDOW_COLOR location: class main /root/JavaX-Caches/tmp_1605869422/main.java:125: error: cannot find symbol System.err.println(ARGS_WINDOW_COLOR + " should be a # followed by six digits"); ^ symbol: variable ARGS_WINDOW_COLOR location: class main /root/JavaX-Caches/tmp_1605869422/main.java:127: error: cannot find symbol } else if (param.equals(ARGS_STOP_COLOR)) { ^ symbol: variable ARGS_STOP_COLOR location: class main /root/JavaX-Caches/tmp_1605869422/main.java:132: error: cannot find symbol System.err.println(ARGS_STOP_COLOR + " should be a # followed by six digits"); ^ symbol: variable ARGS_STOP_COLOR location: class main /root/JavaX-Caches/tmp_1605869422/main.java:134: error: cannot find symbol } else if (param.equals(ARGS_SKETCH_FOLDER)) { ^ symbol: variable ARGS_SKETCH_FOLDER location: class main /root/JavaX-Caches/tmp_1605869422/main.java:136: error: cannot find symbol } else if (param.equals(ARGS_LOCATION)) { ^ symbol: variable ARGS_LOCATION location: class main /root/JavaX-Caches/tmp_1605869422/main.java:137: error: cannot find symbol location = parseInt(split(value, ',')); ^ symbol: method split(String,char) location: class main /root/JavaX-Caches/tmp_1605869422/main.java:138: error: cannot find symbol } else if (param.equals(ARGS_DENSITY)) { ^ symbol: variable ARGS_DENSITY location: class main /root/JavaX-Caches/tmp_1605869422/main.java:139: error: no suitable method found for parseInt(String,int) density = parseInt(value, -1); ^ method main.parseInt(String) is not applicable (actual and formal argument lists differ in length) method main.parseInt(char) is not applicable (actual and formal argument lists differ in length) /root/JavaX-Caches/tmp_1605869422/main.java:141: error: cannot find symbol System.err.println("Could not parse " + value + " for " + ARGS_DENSITY); ^ symbol: variable ARGS_DENSITY location: class main /root/JavaX-Caches/tmp_1605869422/main.java:144: error: cannot find symbol System.err.println(ARGS_DENSITY + " should be 1 or 2"); ^ symbol: variable ARGS_DENSITY location: class main /root/JavaX-Caches/tmp_1605869422/main.java:148: error: cannot find symbol if (args[argIndex].equals(ARGS_PRESENT)) { ^ symbol: variable ARGS_PRESENT location: class main /root/JavaX-Caches/tmp_1605869422/main.java:150: error: cannot find symbol } else if (args[argIndex].equals(ARGS_HIDE_STOP)) { ^ symbol: variable ARGS_HIDE_STOP location: class main /root/JavaX-Caches/tmp_1605869422/main.java:152: error: cannot find symbol } else if (args[argIndex].equals(ARGS_EXTERNAL)) { ^ symbol: variable ARGS_EXTERNAL location: class main /root/JavaX-Caches/tmp_1605869422/main.java:174: error: cannot find symbol if (platform == MACOSX) { ^ symbol: variable platform location: class main /root/JavaX-Caches/tmp_1605869422/main.java:174: error: cannot find symbol if (platform == MACOSX) { ^ symbol: variable MACOSX location: class main /root/JavaX-Caches/tmp_1605869422/main.java:184: error: display is not public in PApplet; cannot be accessed from outside package sketch.display = displayNum; ^ /root/JavaX-Caches/tmp_1605869422/main.java:185: error: suggestedDensity is not public in PApplet; cannot be accessed from outside package sketch.suggestedDensity = density; ^ /root/JavaX-Caches/tmp_1605869422/main.java:186: error: present is not public in PApplet; cannot be accessed from outside package sketch.present = present; ^ /root/JavaX-Caches/tmp_1605869422/main.java:187: error: sketchPath has private access in PApplet sketch.sketchPath = folder; ^ /root/JavaX-Caches/tmp_1605869422/main.java:191: error: handleSettings() is not public in PApplet; cannot be accessed from outside package sketch.handleSettings(); ^ /root/JavaX-Caches/tmp_1605869422/main.java:192: error: external is not public in PApplet; cannot be accessed from outside package sketch.external = external; ^ /root/JavaX-Caches/tmp_1605869422/main.java:194: error: windowColor is not public in PApplet; cannot be accessed from outside package sketch.windowColor = windowColor; ^ /root/JavaX-Caches/tmp_1605869422/main.java:196: error: initSurface() has protected access in PApplet final PSurface surface = sketch.initSurface(); ^ /root/JavaX-Caches/tmp_1605869422/main.java:205: error: external is not public in PApplet; cannot be accessed from outside package if (sketch.external) { ^ /root/JavaX-Caches/tmp_1605869422/main.java:208: error: showSurface() has protected access in PApplet sketch.showSurface(); ^ /root/JavaX-Caches/tmp_1605869422/main.java:209: error: startSurface() has protected access in PApplet sketch.startSurface(); ^ /root/JavaX-Caches/tmp_1605869422/main.java:210: error: cannot find symbol return frame; ^ symbol: variable frame location: class main 36 errors