What could be reason for "Prism-ES2 Error : GL_VERSION (major.minor) = 1.4"?


Question

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

enter image description here

1
3
9/11/2013 10:34:28 AM

Accepted Answer

Which version of JavaFX are you using? Please, note FX2.x is not supported on RedHat/OEL. But FX8 is, you may want to try dev releases of FX8: https://jdk8.java.net/download.html

Regarding FX8:

Prism-ES2 Error : GL_VERSION (major.minor) = 1.4 message is not an error but notification message. It will be removed in jdk8 release: https://javafx-jira.kenai.com/browse/RT-29273

GThread-ERROR from samples is another story. It's an issue which may be not yet fixed. See https://javafx-jira.kenai.com/browse/RT-32436 and https://javafx-jira.kenai.com/browse/RT-28580#comment-358413

3
9/11/2013 8:39:44 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon