在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
前天在编译软件时,需要 libtool 包,运行 sudo yum install libtool 总是提示HTTP 404 page?not found,开始以为是网络出问题了,因为最近几个月网络抽风似乎是正常现象 。 后来查了一下资料,才知道是本地缓存...
分类:
其他好文 时间:
2014-07-22 09:06:07
阅读次数:
198
今天尝鲜用VMWare安装了CentOS7,选择了最小安装包模式,安装完毕之后想查看一下本机的ip地址,发现报错 #?ifcon -bash:?ifconfig:?command?not?found 谷歌了一下,整理了一下解决思路 ?查看ifconfig命令是...
分类:
其他好文 时间:
2014-07-22 08:16:37
阅读次数:
205
在使用最新版ADT 23进行android学习时发现一些问题:1.通过设置intent的action来启动另外一个activity时,会出现No Activity found to handle Intent这个错误仔细查看了源码发现代码错误,思索许久并未找出错误。当查看到工程的build path...
分类:
移动开发 时间:
2014-07-20 21:29:35
阅读次数:
261
今天用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
在新建 dynamicWeb Project,然后新建 JSP文件的时候,报这个错.安装报错的信息,我通过buildpath->configurebuildpath-> Add External JARS的方式,依然没有解决.网上搜了一下,原理是设计到tomcat服务器配置问题,需要添加Tomc.....
分类:
编程语言 时间:
2014-07-18 17:18:01
阅读次数:
204
When learning the usage of map collection in java, I found serveral beneficial methods that was encountered in the daily life. Now I made a summary:
import java.util.ArrayList;
import java.util.Col...
分类:
编程语言 时间:
2014-07-18 15:13:56
阅读次数:
242
在使用maven开发web项目极大地方便了jar包的依赖,在测试时也可以集成Servlet容器,从启动速度和量级上看,Jetty无疑是不二选择,然而从8.x开始,如果你的web项目中不包含数据库访问(或者说没有事务管理器)的话,在其启动时会提示找不到事务管理器,而且启动过程会暂停十几秒,在反复调试代码时很浪费时间,经过多天在网上搜索资料,终于找到了解决办法。...
分类:
其他好文 时间:
2014-07-18 15:13:41
阅读次数:
206