eclipse 汉化教程(中文语言包的下载和安装)
来源:互联网 发布:matlab矩阵中的最小值 编辑:程序博客网 时间:2024/06/11 06:50
首先声明一下我也是个初学者,本教程仅供初学者使用,欢迎大家和我交流,大牛们也请多指教。
之前一直使用eclipse英文版,后来接触了IntelliJ IDEA 感觉里面的代码自动补全功能好用很多,于是改用IDEA。但是在搭建Struts2框架的时候出现找不到jar包的问题,发现可能是IDEA和eclipse的相对路径的不同,由于暂时还没有开始研究IDE于是重新回归到eclipse来,决定好好熟悉一下eclipse的属性。所以从eclipse汉化出发。之后有时间的话会再研究一下IDEA的相对路径问题,整理成博文。
回归到正题,下面开始eclipse汉化教程,本次使用的是eclipse-Mars版本(这里唠叨一句,如果版本太低的朋友们可以考虑换个高版本的编辑器了,会方便很多,之前碰到的很多错误都是因为eclipse版本太低)。
第一步:打开eclipse ;help >> install new software…
第二步:点击 add
第三步:进入eclipse babel download 页面找到符合自己eclipse版本的地址,复制到location里,name可以随便填,最好填babel,点击OK
第四步:等加载一会儿之后,出现babel子列表,选择Chinese(simplified),next >> next
如果这一步加载不出来则可能需要翻墙。
第五步:最后一步选择 accept 并且finish
第六步:等待安装
若安装过程中出现提示框,则选择ok
最后选择重启eclipse
这里安装中文语言包就完毕了。如果可以成功重启eclipse说明已经安装成功。
但是
我在重启的过程中出现了错误
查看日志文件,显示以下错误
!SESSION 2016-02-29 12:10:11.455 -----------------------------------------------eclipse.buildId=4.5.0.I20150603-2000java.version=1.7.0_17java.vendor=Oracle CorporationBootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CNFramework arguments: -product org.eclipse.epp.package.jee.productCommand-line arguments: -data file:/D:/ -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product!ENTRY org.eclipse.osgi 4 0 2016-02-29 12:10:41.671!MESSAGE 应用程序错误!STACK 1java.lang.LinkageError: loader constraint violation: when resolving method "org.eclipse.e4.ui.bindings.internal.BindingTable.addBinding(Lorg/eclipse/jface/bindings/Binding;)V" the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) of the current class, org/eclipse/e4/ui/workbench/swt/util/BindingProcessingAddon, and the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) for resolved class, org/eclipse/e4/ui/bindings/internal/BindingTable, have different Class objects for the type .addBinding(Lorg/eclipse/jface/bindings/Binding;)V used in the signature at org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon.defineBinding(BindingProcessingAddon.java:192) at org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon.defineBindingTable(BindingProcessingAddon.java:176) at org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon.defineBindingTables(BindingProcessingAddon.java:154) at org.eclipse.e4.ui.workbench.swt.util.BindingProcessingAddon.init(BindingProcessingAddon.java:102) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898) at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121) at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:345) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:278) at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:186) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:107) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:50) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:283) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:620) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608) at org.eclipse.equinox.launcher.Main.run(Main.java:1515) at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
大致的意思是jar包产生了冲突,解决方案是:打开eclipse的根目录下的configuration文件夹找到org.eclipse.osgi和.update文件夹,删除这两个文件夹。
重启eclipse,发现已经变成中文,选择工作空间
汉化成功
不用担心刚刚删除的两个包没有了会不会影响什么,eclipse在启动的时候会加载这两个包,如果发现这两个包没有了它会自动创建,但是需要保持网络通畅。
最后说几句,在汉化之后的eclipse就完全按照中文来创建一些默认的文件了,比如有些文件名或内容部分会直接使用中文,记得把工作空间的字符集改成utf-8。然而,这有可能会影响到开发过程中产生一些莫名其妙的错误,所以如果英语能力比较好或者熟悉eclipse的开发者我还是推荐使用英文原版的eclipse。
欢迎发邮件给我:zyfzjsc988@outlook.com
- eclipse 汉化教程(中文语言包的下载和安装)
- eclipse 语言包下载 中文汉化
- eclipse汉化教程eclipse中文语言包
- eclipse 汉化(语言包)的安装
- vtiger 安装中文语言包(汉化的步骤)--拓展繁体中文
- Eclipse 3.3.x 中文汉化语言包下载或 在线update安装
- 2.Eclipse的安装以及语言包(汉化)
- Eclipse官方中文语言包汉化
- Eclipse安装中文语言包插件教程
- Eclipse中文语言包安装和设置中文
- Eclipse及其中文语言包的下载地址
- eclipse的下载与个性化设置(中文语言包、源码和文档的关联、外观)
- eclipse的下载与个性化设置(中文语言包、源码和文档的关联、外观)
- Eclipse插件的安装(手动安装),以安装SVN插件和中文语言包为例
- 安装Eclipse中文语言包
- eclipse中文语言包安装
- eclipse 安装CDT和中文语言包
- 安装最新eclipse luna和中文语言包
- 微信支付服务端与客户端
- HDU 5625 Clarke and chemistry(字符串模拟题目)
- Oracle数据库如何创建Database Link呢
- Java修饰符关键词大全
- Build.VERSION_CODES.HONEYCOMB
- eclipse 汉化教程(中文语言包的下载和安装)
- 51单片机系列知识11--串行通信(2)
- 欢迎使用CSDN-markdown编辑器
- Java不同压缩算法的性能比较
- MySQL允许root帐号远程登录
- block的简单使用
- 51单片机系列知识12--串行通信(3)
- OkHttp 同步get
- Java程序员可能犯的3个常见SQL错误