是否可以在一台计算机上安装多个Eclipse? [英] Is it possible to have multiple Eclipse installs on one computer?

查看:981
本文介绍了是否可以在一台计算机上安装多个Eclipse?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在一台计算机上安装多个Eclipse?为了使自己更清楚,Eclipse会创建任何本地设置文件,其他安装将会自动错误吗?

解决方案

我做Eclipse插件开发,所以我有9个日食安装,从3.2到4.2



我把每个Eclipse放在这样一个单独的目录。

  C:
eclipse-3.6 RCP
eclipse-4.2 Java
eclipse-4.2 RCP

我将Eclipse包解压到相应的子目录。



我使用Windows,所以我为Eclipse可执行模块(eclipse.exe)创建一个快捷方式。



2015年9月24日根据评论进行更新: / p>

我为每个Eclipse实例都有一个单独的工作区。当我想将我的一个工作区升级到更新的Eclipse时,我执行以下操作:


  1. 将较新的Eclipse解压缩到eclipse目录。我最近的版本是Eclipse Luna(4.4.2)。


  2. 创建一个新的工作区。


  3. 仔细地,将一个Java项目从旧工作区复制到新的工作区。测试并确保Java项目中的所有工作正常。


  4. 将旧工作区保留至少6个月。 / p>


如果您使用Eclipse插件,则步骤3有所不同。


  1. 创建一个新的Eclipse插件。仔细地将Eclipse插件代码从旧的Eclipse插件复制到新的Eclipse插件中。在重建Eclipse插件时进行测试。这看起来很痛苦,这就是为什么我不经常升级我的Eclipse插件。


Is it possible to have multiple Eclipse installs on one computer? To make myself more clear, does Eclipse create any local settings files that other installs would mistake for their own?

解决方案

I do Eclipse plug-in development, so I have 9 Eclipses installed, from 3.2 to 4.2

I put each Eclipse in a separate directory like this.

C:
    eclipse-3.6 RCP
    eclipse-4.2 Java
    eclipse-4.2 RCP

I unzip the Eclipse package to the appropriate sub-directory.

I use Windows, so I create a shortcut for the Eclipse executable modules (eclipse.exe).

24 September 2015 update based on the comments:

I have a separate workspace for each of my Eclipse instances. When I want to upgrade one of my workspaces to a newer Eclipse, I do the following:

  1. Unzip the newer Eclipse to a eclipse- directory. My most recent version now is Eclipse Luna (4.4.2).

  2. Create a new workspace.

  3. Carefully, one Java project at a time, copy the project code from the old workspace to the new workspace. Test and make sure everything in the Java project works.

  4. Keep the old workspace as a backup for at least 6 months.

If you work on Eclipse plug-ins, step 3 is a bit different.

  1. Create a new Eclipse plug-in. Carefully copy your Eclipse plug-in code from the old Eclipse plug-in to the new Eclipse plug-in. Test as you reconstruct your Eclipse plug-in. This is as painful as it reads, which is why I don't upgrade my Eclipse plug-ins too often.

这篇关于是否可以在一台计算机上安装多个Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆