import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.control.Label; import javafx.scene.Scene; public class JavaFX extends Application { public static void main(String[] args) { System.out.println(System.getProperty("java.runtime.version")); System.out.println(System.getProperty("java.vm.name")); System.out.println(System.getProperty("java.home")); System.setProperty("prism.order", "sw"); launch(); } public void start(Stage stage) throws Exception { Label label = new Label("Hello, world"); Scene scene = new Scene(label, 200, 100); stage.setScene(scene); stage.show(); } }