<%@ page contentType="text/html;charset=ISO-8859-2"
import="java.awt.image.*"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-2">
</head>
<body>
<%
BufferedImage bi = new BufferedImage(10, 10, BufferedImage.TYPE_INT_RGB);
bi.createGraphics();
%>
</body>
</html>
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as
the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:125)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
.java:62)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1041)
Masz do wyboru, albo zainstalować iXy na tym serwerze, albo zainstalować
jakąś zaślepkę na AWT dla systemów bez trybu okienkowego (sprawdź archiwum
grupy, było już kilka razy).
Pozdrawiam,
Marcin Sciesinski