随笔分类 -  eclipse

摘要:问题: apache-tomcat-7.0.8\bin\tcnative-1.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform 解决:jdk不是 64位,需要安装64位的jdk,并在 myeclipse中重新指定。 阅读全文
posted @ 2017-12-13 22:27 wonkju 阅读(917) 评论(0) 推荐(0)
摘要:将 apache-tomcat-7.0.8\lib 下的 tomcat-util.jar添加到 注:不是 直接在 configure build path 中添加 jar 阅读全文
posted @ 2017-12-13 22:24 wonkju 阅读(395) 评论(0) 推荐(0)
摘要:尝试将 myeclipse中的编译版本修改(如,将1.5修改为1.6) 阅读全文
posted @ 2017-12-13 22:22 wonkju 阅读(371) 评论(0) 推荐(0)
摘要:在 myeclipse中,连接 sql server 用的 url connection 与 java 代码 连接的 url值完全相同。 (一下为 java的jdbc连接 sql server 成功的代码片段) 阅读全文
posted @ 2017-12-13 22:20 wonkju 阅读(3234) 评论(0) 推荐(0)
摘要:在eclipse中自动添加'注释'的快捷键是'Alt+Shift+J',可以在 MyEclipse中的 Java->Code Style->Code Template->Comments中编辑,如插入日期等.如果要在方法等上进行自动注释,则将光标放在'方法名'上,然后用快捷键即可,否则会不停往类上自... 阅读全文
posted @ 2015-01-03 09:36 wonkju 阅读(130) 评论(0) 推荐(0)
摘要:eclipse自动换行,设置的感觉不是很好用,可以从这个网址进行更新安装: http://ahtik.com/eclipse-update/ 阅读全文
posted @ 2014-12-08 02:19 wonkju 阅读(263) 评论(0) 推荐(0)
摘要:由于多次操作,感觉eclipse应该提供这个功能,网上搜一下,发现需要安装插件.下载地址为 http://www.jave.de/eclipse/copyfully/copyfully_1.2.0.zip下载后,将解压后的'plugins'文件夹中的'de.jave.eclipse.copyfull... 阅读全文
posted @ 2014-11-29 21:59 wonkju 阅读(634) 评论(0) 推荐(0)
摘要:概述 也不晓得为什么,编译eclipse,设置打开,就自动报错: An internal error occurred during: "Running Android Lint"solution打开 eclipse根目录下的 'eclipse.ini'文件,将有'-Xms'和'-Xmx'的两行进... 阅读全文
posted @ 2014-11-29 13:10 wonkju 阅读(859) 评论(0) 推荐(0)
摘要:Ctrl+1 快速修复(最经典的快捷键,就不用多说了)Ctrl+D: 删除当前行 Ctrl+Alt+↓ 复制当前行到下一行(复制增加)Ctrl+Alt+↑ 复制当前行到上一行(复制增加)Alt+↓ 当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了)Alt+↑ 当前行和上面一行交互位置(同... 阅读全文
posted @ 2014-11-28 01:12 wonkju 阅读(277) 评论(0) 推荐(0)
摘要:solution: Window -> Preferences -> Java -> Editor -> Content Assist -> Advanced in the「Select the proposal kinds contained in the 'default' content a... 阅读全文
posted @ 2014-06-05 22:37 wonkju 阅读(263) 评论(0) 推荐(0)
摘要:OpenWindows -> Preferences. 2.SelectjrefromInstalled JREsthen hitEdit botton on the right. 3.browse the installed jre path for the jre home. 4.... 阅读全文
posted @ 2014-05-10 12:24 wonkju 阅读(354) 评论(0) 推荐(0)
摘要:searching for google,I observed that the 'content assist' shortcut key was take placed with 'ctrl + [space]', and the "alt +'/'" was assign for 'word ... 阅读全文
posted @ 2014-03-29 15:30 wonkju 阅读(183) 评论(0) 推荐(0)
摘要:Ref:http://java.chinaitlab.com/Eclipse/812775.htmlandhttp://www.javavids.com/video/how-to-create-an-executable-jar-file-in-eclipse.html Right now y... 阅读全文
posted @ 2014-01-18 19:00 wonkju 阅读(498) 评论(0) 推荐(0)
摘要:Right now your project is bunch of java files in Eclipse. But usually when you finish your application, you want to create a runnable file, so that so... 阅读全文
posted @ 2013-12-14 20:07 wonkju 阅读(411) 评论(0) 推荐(0)
摘要:在默认情况下,Eclipse只在程序员输入“.”并用ALT+/组合键强制调用编码提示功能我们可以通过少量配置,让Eclipse更聪明,实现完全自动编码提示:1、在你的“工作空间”下找到下在文件.metadata\.plugins\org.eclipse.core.runtime\.settings\... 阅读全文
posted @ 2013-12-14 16:26 wonkju 阅读(1671) 评论(0) 推荐(0)
摘要:Ctrl+1快速修复(最经典的快捷键,就不用多说了)Ctrl+D:删除当前行Ctrl+Alt+↓复制当前行到下一行(复制增加)Ctrl+Alt+↑复制当前行到上一行(复制增加)Alt+↓当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了)Alt+↑当前行和上面一行交互位置(同上)Alt+←... 阅读全文
posted @ 2013-12-13 14:39 wonkju 阅读(201) 评论(0) 推荐(0)