码迷,mamicode.com
首页 >  
搜索关键字:headless    ( 161个结果
linux下使用jfreechart
使用jfreechart生成图片,在windows下没问题,在linux下 Could not initialize class org.jfree.chart.JFreeChart 因为linux下默认不能初始化JFreeChart Headless模式是系统的一种配置模式。在该模式下,系统缺少了显示设备、键盘或鼠标。Headless模式虽然不是我们愿意见到的,但事实上我们却...
分类:系统相关   时间:2014-11-20 15:23:14    阅读次数:302
tomcat生产环境优化
使用下面几步来提高Tomcat服务器的性能。增加JVM堆内存大小修复JRE内存泄漏线程池设置压缩数据库性能调优Tomcat本地库其它选项1.JVM优化在Tomcat的启动脚本catalina.sh中添加如下的启动参数: JAVA_OPTS="-Djava.awt.headless=true -Dfi...
分类:其他好文   时间:2014-11-15 00:01:15    阅读次数:569
手动设置系统默认程序版本(可以替换系统自带同名程序)
在root下一切正常,在当前用户下就出现了问题。如下所示:luyunde@luyunde-desktop:/usr/local$ java -version程序“java”已包含在下列软件包中:* gcj-4.4-jre-headless* openjdk-6-jre-headless* cacao...
分类:其他好文   时间:2014-10-20 21:05:22    阅读次数:154
阿里云Ubuntu部署java web(2) - 配置tomcat
系统版本:Ubuntu12.04 64位安装:    首先要安装java(测试时使用的版本是6b27-1.12.6-1ubuntu0.12.04.2),版本可自行选择,但不同版本配置方法可能不同。        apt-get install openjdk-6-jre-headless    推荐两种安装tomcat(测试使用的是tomcat7)的方法,建议apt-get,方便快捷,配置简单。...
分类:编程语言   时间:2014-09-04 15:02:29    阅读次数:262
Clojure:通过cursive连接远程REPL服务器
配置很简单,步骤如下:1. 选择Edit Configurations…2. 选择Clojure REPL -> Remote3. 输入远程服务器的ip和端口。最后点运行就可啦。可以用如下命令指定REPL服务器的端口:lein repl :headless :host 0.0.0.0 :port 9...
分类:其他好文   时间:2014-07-29 12:28:56    阅读次数:277
Xtext Headless模式代码生成
Xtext Xtext是eclipse下用于构建DSL的工具。其使用非常方便,除了支持开发DSL以外,还能得到eclipse语法高亮、错误提示等功能。http://www.eclipse.org/Xtext/index.html 建议先读读官方文档里面的最开始的几个tutorial,对Xtext的使用有个大概的了解。http://www.eclipse.org/Xtext/documentat...
分类:其他好文   时间:2014-07-21 22:45:07    阅读次数:391
Java Runtime.getRuntime().exec 执行带空格命令解决办法
String command = OpenOffice_HOME + "program\\soffice -headless -accept=\"socket,host=127.0.0.1,port=8100;urp;\" -nofirststartwizard "; command = "cmd /c sta...
分类:编程语言   时间:2014-07-21 10:38:09    阅读次数:311
connection failed: socket,host=localhost,port=8100,tcpNoDelay=1: java.net.ConnectException: Connect
JAVA、openOffice、myeclipse报错原因:没有启动openOffice服务。解决办法:运行→cmd,输入:cdC:\Program Files (x86)\OpenOffice 4\program回车再输入soffice -headless -accept="socket,host...
分类:编程语言   时间:2014-07-14 22:46:06    阅读次数:1027
phantomjs + selenium headless test
1. 安装seleniumpip install selenium2. 安装phantomjs如果你是Ubuntu12.04,默认安装的版本是1.4.这个会出错。需要安装1.9.7cd /usr/local/sharesudo wget https://bitbucket.org/ariya/pha...
分类:Web程序   时间:2014-06-13 07:32:47    阅读次数:305
launch genymotion simulator from command line
Command to launch genymotion headless -player --vm-name Nexus_4if player is not already added to path, add it to path using below command in your ~/.b...
分类:其他好文   时间:2014-05-24 10:13:35    阅读次数:320
161条   上一页 1 ... 14 15 16 17 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!