Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java IDE  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 jb6运行也可以像vc一样快
fjchenq





发贴: 233
积分: 20
于 2003-03-19 15:32 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
[这个贴子最后由automan在 2002/04/11 01:37pm 编辑]

环境:
256m内存/赛扬533
将jb6 or jb7启动环境换成jdk1.4,这样你就可以获得想vc一样的响应速度.同时jdk1.4支持鼠标滚轮咯.刷屏也好多了.
具体做法:
将jb6/bin下面的jdk.conf,jbuild.conf
[jdk.conf]
# +-----------------------------------------------------+
# | |
# | This is the shared configuration file for the |
# | Win32 JDK |
# | |
# | Do NOT make modifications without maintaining a |
# | backup copy. See config_readme.html for a |
# | description of the recognized directives. |
# | |
# +-----------------------------------------------------+
# Use the embedded JDK provided with JBuilder and
# override the default heap growth / shrinkage rates
#请指到你的jdk1.4的目录,这是我jdk1.4的相对目录
javapath ../../jdk/jre/bin/client/jvm.dll
vmparam -Xminf0.2
vmparam -Xmaxf0.2

# Add the "tools" JAR to the path since the JDK doesn't
# do so automatically
#请指到你的jdk1.4的目录,这是我jdk1.4的相对目录
addpath ../../jdk/lib/tools.jar

# Force standard VM settings for all applications
vmparam -Xverify:none

# +-----------------------------------------------------+
# | |
# | Uncomment the following line if you are seeing |
# | screen glitches while running JBuilder. This |
# | problem is especially common under Windows 95/98. |
# | |
# +-----------------------------------------------------+
#vmparam -Dsun.java2d.noddraw

# +-----------------------------------------------------+
# | |
# | Uncomment the following line if you are having |
# | problems with your default file encoding. This |
# | problem is evident in some locales. |
# | |
# +-----------------------------------------------------+
#vmparam -Dfile.encoding=ISO8859_1

[jbuild.conf]
# +-----------------------------------------------------+
# | |
# | This is the configuration file for the JBuilder IDE |
# | |
# | Do NOT make modifications without maintaining a |
# | backup copy. See config_readme.html for a |
# | description of the recognized directives. |
# | |
# +-----------------------------------------------------+

# Read the shared JDK definition
include jdk.config

# Tune this VM to provide enough headroom to work on large
# applications
vmparam -Xms8m
vmparam -Xmx128m
#此参数一定要加上,表示以客户端运行java程序.
vmparam -client

# Put the Lightweight AWT wrapper on the boot path
#轻量级的awt组件
addbootpath ../lib/lawt.jar
#jdk1.4的awt组件,不知道有什么改善.感觉很慢.请大家试试看
#addbootpath ../../jdk/jre/lib/jawt.jar

# Add all JAR files located in the patch, lib and lib/ext directory
addjars ../patch
addjars ../lib
addjars ../lib/ext

# Activate the shell integration
socket 8888

# Add all the configuration files located in the lib/ext directory
includedir ../lib/ext

# JBuilder needs to have access to the environment
exportenv

# Start JBuilder using the its main class
mainclass com.borland.jbuilder.JBuilder

当然java程序启动比较慢的,但是vc也不快阿.不过键盘响应快多了.新开窗口也快了很多.


fjchenq edited on 2003-03-21 21:22


JBuilder使用技巧

话题树型展开
人气 标题 作者 字数 发贴时间
6163 jb6运行也可以像vc一样快 fjchenq 3506 2003-03-19 15:32
4729 Re:jb6运行也可以像vc一样快 rilong 5 2003-03-19 21:43
4842 Re:jb6运行也可以像vc一样快 烂泥 91 2003-03-20 10:39
4787 Re:jb6运行也可以像vc一样快 fjchenq 31 2003-03-20 13:47
5181 Re:jb6运行也可以像vc一样快 scottding 11 2003-03-20 13:49

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923