开发者

Can you have 2 completely independent instances of Eclipse running at the same time?

I am currently using Eclipse for both Java and Python (with PyDev). I often find that I have one Java project open with lots of files, and then for some reason I have to switch to a Python project for a bit.

I want to leave my Java project the way it is, and I don't just want to open tons of Python files in the same place because then I have too much open at once.

Is there any way I can leave my Java project exactly the way it is, and open a completely new session of Eclipse? (sort o开发者_运维技巧f the way you can do with a browser)


If you want two instances accessing two workspaces, just run a second copy of eclipse

If you want two windows accessing the same workspace, you can create a second window with Window -> New Window


Yes, you can. Otherwise, no one could develop an Eclipse plug-in.

You have to uncheck the default workspace on startup. You can't have two instances of Eclipse referencing the same workspace.


Yes, you can have two instances of Eclipse running at the same time. However, they can't both access the same workspace at the same time. If you try to do this, the second instance will complain about it on startup and ask you to choose a different workspace.

Also bear in mind that Eclipse tends to be a very memory-hungry application. Running two at once may put a significant strain on your system.


This is what I did.

  1. Go to the folder from where Eclipse is installed.
  2. Click on eclipse Application once.
  3. When it asks to select workspace, 1st go back to directory and click on eclipse application again. It will ask for another workspace selection dialog.
  4. Now you can enter 2 different workspace and work simultaneously.

Can you have 2 completely independent instances of Eclipse running at the same time?


As long as each project uses its own workspace, yes, you absolutely can. This assumes that your system has sufficient memory and CPU resources to accommodate multiple instances, of course. (I do it all the time!)


I was able to debug two simultaneous instances by copying the whole workspace folder and running a new copy of eclipse using that folder.


If you want to open different work spaces with different projects then Window -> New Editor; here you can open different work space with different project.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜