it's interesting. gz!
in my point of view, maybe java for linux uses the X gui engine.
but it seems impossible!you'd better have a test as following:
copy your code into one windows computer, then run it.
in my point of view, maybe java for linux uses the X gui engine.
but it seems impossible!you'd better have a test as following:
copy your code into one windows computer, then run it.
解决方案 »
- struts2 文件下载迅雷文件名问题
- 使用Spring2.5的注解方式实现Aop出错
- 【急】关于文件上传,百思不得其解
- 急!!请高手帮忙!!
- frameset为什么不自动获取最新的页面?
- 请问JSP 做的fame页里怎么得到框架页(frameset页)里的变量
- 怎么防止表单重复提交(struts2标签)
- 有没有跳转到第xx条记录的函数?
- 我在用 java weblogic.ejbc -compiler javac build\std_myfirstejb_hello.jar 命令打包的时候的错误!!
- 各位高手,小弟正在配置JSP运行环境,可是怎么也配置不成功!求教!!!谢谢!帮助者必有分!
- 为什么我提交后的页面却又Dreamweaver打开了提交后的页面?
- 初学JAVA,我在jsp里面使用javabean为什么老报错!谢谢了!~~~
You can avoid run tomcat in XWindow by one of the following approch:
1. Access the X window on another machine. The DISPLAY variable can point to another make with XWindow running if one if available.
2. Install and run xvfb (X virtual frame buffer). This basically simulate a XWindow without actually running one.
3. Install and config PJA (Pure Java AWT) package. This is a free software and allows Java to add AWT without a XWindow.
4. Use jdk 1.4 which supports headless AWT.
我用linux不好吗,这个问题就不能解决了吗?
Use jdk 1.4 which supports headless AWT.
?
什么意思呀?
不明白,能仔细说一说吗?
Actually, xvfb is a util program you can used for similate an X window.
PJA is another one written in Java, you can download it freely.
JDK 1.4 support headless AWT means you can operate graphics without XWindow in JDK1.4.
You have these three options to solve your problem if you really do NOT want run tomcat under XWindows.
那么,怎么样才能解决问题呢?
再说说,好吗?