摘要: /***********************************************************/>我使用的测试jjt,jj文件来自于javacc5.0版本>dir_hier/javacc-5.0/javacc-5.0/examples/ JJTreeExamples SimpleExamples/*********************************************************... 阅读全文
posted @ 2013-07-01 14:53 Ronald Hu 阅读(6828) 评论(0) 推荐(0) 编辑
摘要: Oracle 一般 scott 用户(默认密码为tiger)登录,尝试了一下发现还是提示同样的错误。兰平说这个用户被锁定了,解锁代码他一时也记不起来,于是我上网查询了一下相关资料。至于 scott 用户为什么被锁定,可能是下面几个原因。 1. 尝试多次登录未成功(可能密码不正确); 2. 此用户被管理员手工锁定; 3. 用户密码到期、未按时修改密码,等等。 看来 scott 这个用户肯定是登陆不了了,然后我用尝试着用 system 这个用户登录,我记得在安装 Oracle 11g 的时候曾提示输入密码,然后我自己输了一个,结果我用自己原先设定的密码试了一下果然连接上了。可见来在... 阅读全文
posted @ 2013-03-27 19:07 Ronald Hu 阅读(206) 评论(0) 推荐(0) 编辑
摘要: win7/xp 下面安装Android虚拟机,更新SDK后,在Eclipse preference里指向android-sdk-windows时。 出现 : This Android SDK requires Android Developer Toolkit version 17.0.0 or above. Current version is 10.0.0.v201102162101-104271. Please update ADT to the latest version. 结果:虚拟机无法打开。 原因: 由于更新后,android-sdk-windows/tools/lib下的pl 阅读全文
posted @ 2013-03-27 19:06 Ronald Hu 阅读(2923) 评论(0) 推荐(0) 编辑
摘要: 泡泡网软件频道1月12日Win7系统简单易用让很多朋友不再惧怕遇见一些系统问题,因为很多时候利用Win7提供的问题助手也能自行快速解决问题。都知道Win7系统开机会显示四个颜色的小球旋转并汇集成Windows的标志,这也成为了Win7标志性的开机动画,然而也许某一天却遭遇Win7开机后显示的是绿色滚动条而不是动画的情况,这该怎么办? 据悉,Windows7的开机默认分辨率为1024x768,在启动过程中由于显卡驱动尚未加载完成,所以这些动画都是由CPU来完成,通过更新缓冲区来完成图形显示。所以,若是显示器分辨率低于1024x768,或是CPU不够强劲,就有可能出现上面提到的这个问题了。要解决这 阅读全文
posted @ 2013-03-14 10:29 Ronald Hu 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-12-07 13:30 Ronald Hu 阅读(150) 评论(0) 推荐(0) 编辑
摘要: This may be the solution you are seeking.I recently removed the Vista Recovery Center malware from another one of our company laptops. It has ATI graphics installed. This malware hides most of the files on the PC in an attempt to fool you into thinking that your PC is really damaged like it is repor 阅读全文
posted @ 2012-11-17 23:44 Ronald Hu 阅读(586) 评论(0) 推荐(0) 编辑
摘要: import java.io.* ;public class ListFileDemo{public static void main(String args[]){ File f = new File("d:" + File.separator) ; print(f) ;}public static void print(File file){if(file == null){ return ;}if(file.isDirectory()){ File f[] = file.listFiles() ; if(f!=null) for(int i = 0 ; i<f. 阅读全文
posted @ 2012-10-24 23:30 Ronald Hu 阅读(2002) 评论(0) 推荐(0) 编辑
摘要: myeclipse自动提示背景颜色设置(再也不那么淡)window--preference--java--editor- completion proposals Background 颜色推荐85,90,205Eclipse 常用快捷键 Eclipse的编辑功能非常强大,掌握了Eclipse快捷键功能,能够大大提高开发效率。Eclipse中有如下一些和编辑相关的快捷键。 1. 【ALT+/】 此快捷键为用户编辑的好帮手,能为用户提供内容的辅助,不要为记不全方法和属性名称犯愁,当记不全类、方法和属性的名字时,多体验一下【ALT+/】快捷键带来的好处吧。 2. 【Ctrl+O】 显示类... 阅读全文
posted @ 2012-10-20 22:45 Ronald Hu 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 方法一:在线安装 1.打开HELP-&gt;MyEclipse Configuration Center。切换到SoftWare标签页。 2.点击Add Site 打开对话框,在对话框Name输入Svn,URL中输入:http://subclipse.tigris.org/update_1.6.x 3.在左边栏中找到Personal Site中找到SVN展开。将Core SVNKit Library和Optional JNA Library添加(右键Add to Profile),Subclipse下面的Subclipse Integration for Mylyn 3.0可以不添加( 阅读全文
posted @ 2012-10-20 13:30 Ronald Hu 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1、在WINDOWS服务中停止Mysql服务。2、命令行执行下面的命令:C:\Program Files\MySQL\MySQL Server 5.0\bin>mysqld-nt--skip-grant-tables 3、启动mysql,并执行下面的命令。C:\Program Files\MySQL\MySQL Server 5.0\bin>mysql -u rootmysql> use mysqlDatabase changedmysql> update user set password=password("123") whereuser=&qu 阅读全文
posted @ 2012-10-09 18:28 Ronald Hu 阅读(215) 评论(0) 推荐(0) 编辑