MyEclipse 8.6.1 制作绿色版

 


我们先在这个目录下新建一个文件: MyEclipse 10.6.bat , 文件内容如下:
start eclipse\eclipse.exe -vm jre\bin\javaw.exe
接下来只需要改一个Eclipse 插件的配置文件就可以实现绿色版运行了, 我们用记事本等文本编辑器打开下面的这个文件 com.genuitec.eclipse.MyEclipse.link:

文件原始内容如下所示:
path=d:\\Java\\MyEclipse6.0\\myeclipse
这个是指定 myeclipse 这个插件目录的位置的, 我们把它改成相对路径即可:
path=..\\myeclipse
OK, 完工了, 把MyEclipse 10.6整个目录复制到你的移动硬盘上或者刻成光盘。以后当你的系统重做后或者拿着移动硬盘到了一个根本没装过 Java 工具的电脑上后, 双击批处理文件MyEclipse 10.6.bat 即可立即启动 MyEclipse 来工作! 复制到硬盘上的任何目录(注意路径建议不要带空格或者汉字), 也可以同样启动, 免去我们安装和配置之苦。

======================================================

安装文件:myeclipse-8.6.1-win32.exe

安装目录:D:/MyEclipse/8.6

运行安装:

MyEclipse Install Directory -->C:/Users/Administrator/AppData/Local/Genuitec/MyEclipse-8.6

修改为:D:/MyEclipse/8.6.1/MyEclipse

这样的话,后面所有配置文件的修改,都是以D:/MyEclipse/8.6.1/MyEclipse/为相对根路径来修改的

Common directory --> C:/Users/Administrator/AppData/Local/Genuitec/Common

修改为:D:/MyEclipse/8.6.1/Common

安装完成:

选择默认工作区:D:/MyEclipse/workspace/8.6.1

修改配置文件:D:/MyEclipse/8.6.1/MyEclipse/myeclipse.ini

#utf8 (do not remove)

-startup

../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar

--launcher.library

../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519

-install

D:/MyEclipse/8.6.1/MyEclipse

-vm

D:/MyEclipse/8.6.1/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

-configuration

D:/MyEclipse/8.6.1/MyEclipse/configuration

-vmargs

-Xmx512m

-XX:MaxPermSize=256m

-XX:ReservedCodeCacheSize=64m

全部改为相对路径

#utf8 (do not remove)

-startup

../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar

--launcher.library

../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519

-install

../MyEclipse

-vm

../Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

-configuration

../MyEclipse/configuration

-vmargs

-Xmx512m

-XX:MaxPermSize=256m

-XX:ReservedCodeCacheSize=64m

也可以修改myeclipse.ini中配置的jvm路径

编辑文件:D:/MyEclipse/8.6.1/MyEclipse/configuration/.settings/org.eclipse.ui.ide.prefs

#Fri Feb 24 11:19:52 CST 2012

RECENT_WORKSPACES_PROTOCOL=3

MAX_RECENT_WORKSPACES=5

SHOW_WORKSPACE_SELECTION_DIALOG=false

eclipse.preferences.version=1

RECENT_WORKSPACES=D/://MyEclipse//workspace//8.6.1

修改为:

#Fri Feb 24 09:35:06 CST 2012

RECENT_WORKSPACES_PROTOCOL=3

MAX_RECENT_WORKSPACES=5

SHOW_WORKSPACE_SELECTION_DIALOG=false

eclipse.preferences.version=1

RECENT_WORKSPACES=..//..//workspace//8.6.1

修改文件:D:/MyEclipse/8.6.1/MyEclipse/configuration/org.eclipse.equinox.simpleconfigurator目录下bundles.info中配置的插件路径,

替换内容:"file:/D:/MyEclipse/8.6.1/Common/" 全部替换成"file/:../Common/",

file:/D:/MyEclipse/eclipse-plugins/ 全部替换成"file/:../../eclipse-plugins/"

修改:D:/MyEclipse/8.6.1/MyEclipse/configuration/config.ini

#Generated by Pulse at Fri Feb 24 11:20:08 CST 2012

#Fri Feb 24 11:20:08 CST 2012

org.eclipse.update.reconcile=false

com.genuitec.pulse.client.handshake.id=b519db33-4a06-46ea-bb86-3b1fa36f2bf6

eclipse.p2.profile=com.poweredbypulse.profile-0-rb-578452-1330053273594

osgi.instance.area.default=@user.home/Workspaces/MyEclipse 8.6

osgi.framework=file/:../Common/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar

com.genuitec.pulse.client.credentials=IH5xjImaOQGHFt5qtlwPnUWaVWV3X42/E6volPHK5yaV52trXdqWLvCH7N5P1PRx/UGBAocKGiSj nat9nCUhjKD4qMfMLAhYgIK56dOq3sFamO8SQJJHd1sQfk7U5fN0jjL6/RthMwtu3UIURIH6Ej7L vfAc42w0Fc2Mb9XjNR4/=

osgi.splashLocation=D/://MyEclipse//8.6.1//Common//plugins//com.genuitec.myeclipse.product85_8.6.1.me201011171823//splash.bmp

com.genuitec.pulse.client.blueprint.id=rb-578452-1330053273594

osgi.bundles=reference/:file/:[email protected]1/:start

com.genuitec.pulse.common.server.url=https/://www.poweredbypulse.com/:443

org.eclipse.equinox.simpleconfigurator.configUrl=file/:org.eclipse.equinox.simpleconfigurator/bundles.info

eclipse.product=com.genuitec.myeclipse.product85.ide

osgi.splashPath=platform/:/base/plugins/com.genuitec.myeclipse.product85

osgi.framework.extensions=reference/:file/:javax.transaction_1.1.1.v201002111330.jar

osgi.bundles.defaultStartLevel=4

eclipse.p2.data.area=file/:/C/:/Users/Administrator/AppData/Local/Genuitec/Common/configuration/

com.genuitec.pulse.client.basedir.location.override=C/://Users//Administrator//AppData//Local//Genuitec

全改为相对路径

#Generated by Pulse at Fri Feb 24 11:20:08 CST 2012

#Fri Feb 24 11:20:08 CST 2012

org.eclipse.update.reconcile=false

com.genuitec.pulse.client.handshake.id=b519db33-4a06-46ea-bb86-3b1fa36f2bf6

eclipse.p2.profile=com.poweredbypulse.profile-0-rb-578452-1330053273594

osgi.instance.area.default=@user.home/Workspaces/MyEclipse 8.6

osgi.framework=file/:../Common/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar

com.genuitec.pulse.client.credentials=IH5xjImaOQGHFt5qtlwPnUWaVWV3X42/E6volPHK5yaV52trXdqWLvCH7N5P1PRx/UGBAocKGiSj nat9nCUhjKD4qMfMLAhYgIK56dOq3sFamO8SQJJHd1sQfk7U5fN0jjL6/RthMwtu3UIURIH6Ej7L vfAc42w0Fc2Mb9XjNR4/=

osgi.splashLocation=..//Common//plugins//com.genuitec.myeclipse.product85_8.6.1.me201011171823//splash.bmp

com.genuitec.pulse.client.blueprint.id=rb-578452-1330053273594

osgi.bundles=reference/:file/:[email protected]1/:start

com.genuitec.pulse.common.server.url=https/://www.poweredbypulse.com/:443

org.eclipse.equinox.simpleconfigurator.configUrl=file/:org.eclipse.equinox.simpleconfigurator/bundles.info

eclipse.product=com.genuitec.myeclipse.product85.ide

osgi.splashPath=platform/:/base/plugins/com.genuitec.myeclipse.product85

osgi.framework.extensions=reference/:file/:javax.transaction_1.1.1.v201002111330.jar

osgi.bundles.defaultStartLevel=4

eclipse.p2.data.area=file/:../Genuitec/Common/configuration/

com.genuitec.pulse.client.basedir.location.override=..//Genuitec

C:/Users/Administrator/AppData/Local/Genuitec 这个目录改为:D:/MyEclipse/8.6.1/MyEclipse/Genuitec

安装插件,建议都下载相关插件,使用link进行使用

所有插件都下载解压到:D:/MyEclipse/eclipse-plugins

1、安装svn插件:site-1.6.18.zip

解压目录:D:/MyEclipse/eclipse-plugins/svn-1.6.18

插件安装目录:D:/MyEclipse/8.6.1/ MyEclipse /dropins

创建svn插件链接文件:svn.link

内容:path=..//..//eclipse-plugins//svn-1.6.18

每安装完插件都要再修改文件:D:/MyEclipse/8.6.1/MyEclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info,

替换内容:file:/D:/MyEclipse/eclipse-plugins/ 全部替换成"file/:../../eclipse-plugins/"

这样纯绿色版MyEclipse 8.6.1就打造好了,直接拷到U盘中就可以运行了

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。