java程序开发中经常用到JNI调用本地library, 同时又希望将library同class文件编译成一个jar文件以方便deploy. 但是JDK的classloader不支持从jar文件中加载library, 一个变通的方法就是jar里的library以临时文件的方式写到临时目录或java.library目录. 附上两篇文档链接 : **Load Library inside a jar file ** 使用JNI时,装载本地库的小技巧
Read MoreThose days my work is focus on eclipse's update. Now I understand the general mechanism and meet some issues when using it in development work. The update mechanism includes four major types: install, enable, disable and uninstall. And all of those operations can be executed by command line, such as installing a …
Read MoreI met a defect that dynamically created menu items disappear after creating a new viewPart. It caused me overtime last Friday. Today I find the root cause. The scenario is: open first document, the items are shown well open another document, the items disappear The requirement is that showing the menu items while …
Read MoreI need use remote debug in our project, however just some experience in Weblogic were found from internet. After my investigation, I got some experience about using Eclipse remote debug RCP. There are two important parameters for jvm. And we must launch remote java app with those two parameters. -Xdebug //tells jvm …
Read More