Wrote /root/JavaX-Caches/tmp_1494943204/main.java - 1917 bytes (written=1917, should be 1917)
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_1234165421 /root/JavaX-Caches/tmp_1494943204/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1494943204/main.java:17: error: class, interface, or enum expected
public sclass VideoPlayer extends Application {
^
/root/JavaX-Caches/tmp_1494943204/main.java:20: error: class, interface, or enum expected
File file;
^
/root/JavaX-Caches/tmp_1494943204/main.java:22: error: class, interface, or enum expected
static MediaPlayer theMediaPlayer;
^
/root/JavaX-Caches/tmp_1494943204/main.java:24: error: class, interface, or enum expected
public void start(Stage stage) ctex {
^
/root/JavaX-Caches/tmp_1494943204/main.java:29: error: class, interface, or enum expected
double w = 540, h = 209;
^
/root/JavaX-Caches/tmp_1494943204/main.java:30: error: class, interface, or enum expected
new BorderPane root;
^
/root/JavaX-Caches/tmp_1494943204/main.java:31: error: class, interface, or enum expected
Scene scene = new Scene(root, w, h, Color.BLACK);
^
/root/JavaX-Caches/tmp_1494943204/main.java:32: error: class, interface, or enum expected
stage.setScene(scene);
^
/root/JavaX-Caches/tmp_1494943204/main.java:35: error: class, interface, or enum expected
stage.setTitle(file.getName() + " - JavaX Video Player");
^
/root/JavaX-Caches/tmp_1494943204/main.java:36: error: class, interface, or enum expected
stage.show();
^
/root/JavaX-Caches/tmp_1494943204/main.java:39: error: class, interface, or enum expected
Media media = new Media(file.toURI().toURL().toString());
^
/root/JavaX-Caches/tmp_1494943204/main.java:42: error: class, interface, or enum expected
MediaPlayer mediaPlayer = new MediaPlayer(media);
^
/root/JavaX-Caches/tmp_1494943204/main.java:43: error: class, interface, or enum expected
theMediaPlayer = mediaPlayer;
^
/root/JavaX-Caches/tmp_1494943204/main.java:44: error: class, interface, or enum expected
mediaPlayer.setAutoPlay(true);
^
/root/JavaX-Caches/tmp_1494943204/main.java:47: error: class, interface, or enum expected
MediaView mediaView = new MediaView(mediaPlayer);
^
/root/JavaX-Caches/tmp_1494943204/main.java:50: error: class, interface, or enum expected
DoubleProperty mvw = mediaView.fitWidthProperty();
^
/root/JavaX-Caches/tmp_1494943204/main.java:51: error: class, interface, or enum expected
DoubleProperty mvh = mediaView.fitHeightProperty();
^
/root/JavaX-Caches/tmp_1494943204/main.java:52: error: class, interface, or enum expected
mvw.bind(Bindings.selectDouble(mediaView.sceneProperty(), "width"));
^
/root/JavaX-Caches/tmp_1494943204/main.java:53: error: class, interface, or enum expected
mvh.bind(Bindings.selectDouble(mediaView.sceneProperty(), "height"));
^
/root/JavaX-Caches/tmp_1494943204/main.java:54: error: class, interface, or enum expected
mediaView.setPreserveRatio(true);
^
/root/JavaX-Caches/tmp_1494943204/main.java:56: error: class, interface, or enum expected
root.setCenter(mediaView);
^
/root/JavaX-Caches/tmp_1494943204/main.java:57: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1494943204/main.java:59: error: class, interface, or enum expected
public void stop() {
^
/root/JavaX-Caches/tmp_1494943204/main.java:61: error: class, interface, or enum expected
}
^
24 errors