在aws的instance选项中的第一个:amazon自己的linux instance上,想要跑java程序,可是会出现javac:command not found的错误。
一般方案是检测jdk有没有安装以及JAVA_HOME有没有设置正确,不过!!!!
最简单的解决方案:
sudo yum install java-devel...
分类:
编程语言 时间:
2014-07-22 22:48:55
阅读次数:
309
public class Test { public static void main(String[] args) throws IOException, InterruptedException { String command = "cmd /k D:\\ProgramFiles\\workspace_eclipse\\Java_Maintenanec_System\\src\\com...
分类:
编程语言 时间:
2014-07-22 08:28:35
阅读次数:
214
今天尝鲜用VMWare安装了CentOS7,选择了最小安装包模式,安装完毕之后想查看一下本机的ip地址,发现报错 #?ifcon -bash:?ifconfig:?command?not?found 谷歌了一下,整理了一下解决思路 ?查看ifconfig命令是...
分类:
其他好文 时间:
2014-07-22 08:16:37
阅读次数:
205
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
■ XCODE设置:(1)把编译器中的“警告”,设置成错误级别。方法:build settings 搜索error->“treat warings as errors”,更改为true.(2)xcode 快捷键:ESC: 打开代码提示自动完成窗口TABLE:补全自动提示快照:command+ctrl...
分类:
其他好文 时间:
2014-07-20 10:20:24
阅读次数:
337
今天用uploadify插件做文件上传的功能。当auto置为true的时候,怎么上传都没有问题。把auto置为了false,想让文件随表单一起上传,相同的代码,点击提交都却报404 not found!
很纳闷,这个路径明明是刚刚auto=true时的路径。
无奈现在的项目用Chrome访问没法跟踪自己写的js,也就进不了源码进行debug。google下这方面的原因,...
分类:
其他好文 时间:
2014-07-20 09:29:18
阅读次数:
301
In this article, I gathered up all the dumps, who found. If you see something new table will be updated.If you want to replenish the base - write in c...
分类:
移动开发 时间:
2014-07-19 23:12:35
阅读次数:
867
previous:[工作记录] Android OpenGL ES 2.0: square texture not supported on some devicerecently I found that it is the mipmap of a non-square texture thatc...
分类:
移动开发 时间:
2014-07-19 23:09:07
阅读次数:
260
MacBook常用快捷键Command-Tab:在程序间切换Command-H:隐藏Command-M:最小化Command-N:新建Command-O:打开Command-P:打印Command-Q:退出Command-W:关闭fn+F11:隐藏所有窗口并显示桌面Command-←:移动到行首Co...
分类:
其他好文 时间:
2014-07-19 09:17:16
阅读次数:
212
python模块:paramikofabric1.paramikoinstalltion:yum-yinstallpython-develpipinstallparamikoproblem:1.1error:command‘gcc’failedwithexitstatus1这是缺少python-devel软件包,安装即可1.2导入paramiko时报错:error:‘module’objecthasnoattribute‘HAVE_DECL_MPZ_POW..
分类:
编程语言 时间:
2014-07-19 02:33:35
阅读次数:
287