in unix, you should do it under xwindow.
Because it need the native peer to generate the image.
The other way is to find one pure java package.
Because it need the native peer to generate the image.
The other way is to find one pure java package.
解决方案 »
- POI,JXL对excel的操作。
- jsp 类似qq空间回复,展开剩余回复这个功能怎么实现,有多条回复先隐藏几条,点展开剩余回复全部显示出来?
- jsp页面获取不到session
- 如何实现:打开一个页面后,隔几秒钟自动跳转。
- JAVASCRIPT ALERT
- jsp中有没有类似asp.net和asp中Session_Start的方法?
- 菜鸟及:参数传递问题.
- 我用tomcat做服务器,学习用jsp+javabean编程,把jsp放在webapps/example/jsp目录下,那javabean放在哪儿啊?
- java.util.Date类型转换为java.sql.Date类型,急用,
- 如何远程启动resin服务
- Jsp + JavaBean的问题
- 怎样用TOMCAT作独立的WEB服务器?
what it means?
这样就不需要xwindow了。
X11GraphicsEnvironment
有没有呢?
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:63)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:134)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:64)
at _jsp._test__jsp._jspService(/test.jsp:31)
at com.caucho.jsp.JavaPage.service(JavaPage.java:87)
at com.caucho.jsp.JavaPage.subservice(JavaPage.java:81)
at com.caucho.jsp.Page.service(Page.java:410)
at com.caucho.server.http.Invocation.service(Invocation.java:319)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:121)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:239)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:157)
at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
at java.lang.Thread.run(Thread.java:498)
另外,xhost + 有没有运行?也就是说有没有给它权限?