摘要:
try thisopen the file <netbeans-dir>/etc/netbeans.confadd 1. -J-Duser.language=en -J-Duser.region=US复制代码to the end of the option "netbeans_default_options" 1. netbeans_default_options="-J-Xms256m -J-Xmx768m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -J-Xverify:none -J-Dapple.laf.
阅读全文
posted @ 2011-08-26 14:38
网络大豆
阅读(403)
推荐(0)
摘要:
注意将安装路径/usr/lib/jvm/java/jdk1.6.0_12/替换成自己的http://www.360doc.com/content/11/0111/11/2804674_85680052.shtml首先,从http://java.sun.com中下载jdk,我的版本是jdk1.6.0_12,我下载的是bin文件,我将下载的jdk1.6.0_12.bin文件置于/usr/lib/jvm/java中然后,在shell中执行:代码:sudo chmod u+x /usr/lib/jvm/java/jdk1.6.0_12.bin修改bin文件权限,使其可执行然后,执行代码:sudo /u
阅读全文
posted @ 2011-08-25 22:17
网络大豆
阅读(505)
推荐(0)
摘要:
注意使用参数-Dcluster.config=platform目前还不知道platform和ide具体有啥不同。
阅读全文
posted @ 2011-08-25 08:01
网络大豆
阅读(299)
推荐(0)
摘要:
onedrum 一个 MS Office 协作平台collanos 一个小组协作平台
阅读全文
posted @ 2011-08-24 15:43
网络大豆
阅读(331)
推荐(0)
摘要:
1 官方提供的依赖包不完整 这里官方提供的依赖包是指http://sourceforge.net/projects/practicaljxta/files/中的lib-dependencies-2.7.zip 设置后classpath后运行,会发现抛出异常java.lang.ClassNotFoundException: org.jboss.netty.channel.socket.httptunnel.HttpTunnelClientChannelFactory 在论坛上找到解决方法(非官方):加入一个依赖包httptunnel-0.92.jar,我会在本贴中放入该文件的下载链接。 注...
阅读全文
posted @ 2011-08-24 15:24
网络大豆
阅读(1027)
推荐(1)
摘要:
http://blog.csdn.net/tony1130/article/details/3739695 Mercurial是什么? Mercurial 是与GIT相似的一个分布式版本控制系统,但使用方法上与Subversion (一个比较流行的集中式版本控制系统)相似.如果你使用过Subversion,很容易迁移到Mercurial. 如何在Ubuntu上安装Mercurial? sudo apt-get install python2.5sudo apt-get install python-all-dev sudo apt-get install python-setupt...
阅读全文
posted @ 2011-08-23 22:21
网络大豆
阅读(389)
推荐(0)
摘要:
找了老半天,终于找到了,资料的整理很重要1packagejxtaserviceexample.util;23importnet.jxta.id.IDFactory;4importnet.jxta.peergroup.PeerGroup;5importnet.jxta.peergroup.PeerGroupID;6importnet.jxta.platform.ModuleClassID;7importnet.jxta.platform.ModuleSpecID;89/**10*AsimpleapplicationtogenerateaModuleClassID,ModuleSpecificat
阅读全文
posted @ 2011-08-23 17:25
网络大豆
阅读(666)
推荐(0)
摘要:
在实现自定义服务时,我们很可能会依赖其它服务或核心服务,在这种情况下,要求自定义服务的启动必须在依赖服务启动之后。例如我们在ResolverService服务之上实现自己的服务,就是说我们的服务要使用ResolverService来实现自己的功能。那么在自定义服务的java 代码publicintstartApp(String[]args){//Nowthattheserviceisbeingstarted,settheResolverService//objecttousehandleourqueriesandsendresponses.resolver=peerGroup.getResol
阅读全文
posted @ 2011-08-23 10:09
网络大豆
阅读(644)
推荐(0)
摘要:
enum<->intenum->int:int i =enumType.value.ordinal();int->enum:enumTypeb=enumType.values()[i];enum<->Stringenum -> String: enumType.name()String -> enum: enumType.valueOf(name); --------------------------------------------------------------------------http://stackoverflow.com/
阅读全文
posted @ 2011-08-22 23:40
网络大豆
阅读(16703)
推荐(0)
摘要:
http://rubenlaguna.com/wp/2008/02/22/attach-source-code-to-a-netbeans-library-wrapper-module/I’m new in NetBeans and today I’ve been struggling a couple of hours with the simple task of attaching the source code for an external JAR (NetBean Library Wrapper Module).I’ve been trying to find in google
阅读全文
posted @ 2011-08-22 20:19
网络大豆
阅读(331)
推荐(0)