Error in running swing application in my linux machine
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Aditya_Kumar
Posted On:   Tuesday, October 19, 2010 08:27 AM

Hello Everyone, I have downloaded the package for openjdk-6 and installed on my computer( linux ubuntu). Non GUI programs are running fine. But when I try the programs which have Swing GUI. I get the following error. Exception in thread "main" java.lang.InternalError: No RenderingEngine module found at sun.java2d.pipe.RenderingEngine.getInstance(RenderingEngine.java:138) at sun.java2d.pipe.LoopPipe. (LoopPipe.java:51) at sun.java2d.SurfaceData. (SurfaceData.java:399) at sun.awt.X11GraphicsConfig. (X11GraphicsConfig.java:79) at sun.awt.X11GraphicsDevice.makeDefaultConfiguration(X11GraphicsDevice.java:244) at sun.awt.X11GraphicsDevice.getDefaultConf   More>>


Hello Everyone,
I have downloaded the package for openjdk-6 and installed on my computer( linux ubuntu). Non GUI programs are running fine. But when I try the programs which have Swing GUI. I get the following error.
Exception in thread "main" java.lang.InternalError: No RenderingEngine module found

at sun.java2d.pipe.RenderingEngine.getInstance(RenderingEngine.java:138)

at sun.java2d.pipe.LoopPipe. (LoopPipe.java:51)

at sun.java2d.SurfaceData. (SurfaceData.java:399)

at sun.awt.X11GraphicsConfig. (X11GraphicsConfig.java:79)

at sun.awt.X11GraphicsDevice.makeDefaultConfiguration(X11GraphicsDevice.java:244)

at sun.awt.X11GraphicsDevice.getDefaultConfiguration(X11GraphicsDevice.java:214)

at java.awt.Window.init(Window.java:385)

at java.awt.Window. (Window.java:438)

at java.awt.Frame. (Frame.java:419)

at javax.swing.JFrame. (JFrame.java:224)

at Frame1. (Frame1.java:12)

at Frame1.main(Frame1.java:27)


Please can someone point me in the right direction. This is really urgent. Thanks in advance.


Regards,


Aditya    <<Less

Re: Error in running swing application in my linux machine

Posted By:   Anonymous  
Posted On:   Saturday, October 23, 2010 06:37 AM

About | Sitemap | Contact