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

JavaEclipsePydev

Java Problem Overview


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 of the way you can do with a browser)

Java Solutions


Solution 1 - Java

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

Solution 2 - Java

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.

Solution 3 - Java

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.

Solution 4 - Java

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.

Check the directory image here

Solution 5 - Java

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!)

Solution 6 - Java

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

Solution 7 - Java

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionfroadieView Question on Stackoverflow
Solution 1 - JavaMichael MrozekView Answer on Stackoverflow
Solution 2 - JavaGilbert Le BlancView Answer on Stackoverflow
Solution 3 - JavaSyntacticView Answer on Stackoverflow
Solution 4 - JavaShachiView Answer on Stackoverflow
Solution 5 - JavaDanny WhittView Answer on Stackoverflow
Solution 6 - JavaAndrei PokrovskyView Answer on Stackoverflow
Solution 7 - JavaCustadianView Answer on Stackoverflow