I am trying to develop simple javafx programs in Oracle Linux using eclipse IDE. i have installed jdk 7 and all programs runs properly except it shows
Prism-ES2 Error : GL_VERSION (major.minor) = 1.4
in console.
For example,Following is the simple javaFX program
import javafx.application.*;
import javafx.scene.Group;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.paint.Paint;
import javafx.stage.Stage;
public class practiceFX extends Application{
public static void main(String args[])
{
Application.launch(args);
}
@Override
public void start(Stage primaryStage) throws Exception {
// TODO Auto-generated method stub
Group root =new Group();
Scene scene =new Scene(root,200,300);
primaryStage.setTitle("PRACTICE");
primaryStage.setScene(scene);
primaryStage.setResizable(true);
primaryStage.setScene(scene);
primaryStage.show();
System.out.println("hi");
}
}
and the output is
Prism-ES2 Error : GL_VERSION (major.minor) = 1.4
hi
Please see the screenshot too Also I can not run the javaFX samples. When i am trying to run Ensemble.jar then it shows following error
Prism-ES2 Error : GL_VERSION (major.minor) = 1.4
GThread-ERROR **: GThread system may only be initialized once.
aborting...
Aborted (core dumped)
Please tell how to fix this issue