The problem is that te virtual machine can't connect with the xserver (for do some graphics work).
There are diferent sol.lucions. If you have jsdk1.4, you can put this in your code (the first time, later d'ont work):
System.setProperty("java.awt.headless","true");
Other solucion is allow virtual machine connect with the xserver, you must found the information about in internet.
Josep R. Raurell
En/na Amit Gautam ha escrit:
i m facing a problem while using a chart component in the Linux environment. it says "error connecting to X11 server, problem in DISPLAY setting:locahost:0.0"
any ideas?
========================================================================= To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com