[JAVA] Open multiple workspaces in Eclipse on Mac

Thing you want to do

I want to open multiple Eclipse on my mac.

Personally, I want to divide the workspace for each work, so I tried and errored what I couldn't do. It turns out that it is surprisingly easy to do.

It may not be in great demand, but for those who are addicted to the same place.

Method

open -n /Applications/Eclipse.app

╩╗The open` command has an option to "open in another instance".

$> man open
...
-n  Open a new instance of the application(s) even if one is already running.

There is no problem with always adding the -n option, so if you register an alias, you can start it from the terminal.

alias eclipse='open -n /Applications/Eclipse.app'

Confirmation environment

macOS 10.14.2

Recommended Posts

Open multiple workspaces in Eclipse on Mac
Use completion in Eclipse on mac
Install tomcat + eclipse on mac
Steps to install Maven on Mac and use it in Eclipse
Enable code completion in Eclipse for Mac
Eclipse Pleiades All in One for Mac released
MVC in Eclipse.
Switch between multiple versions of Java on Mac
Until building Spring-Boot using Eclipse on Mac (Gradle version)
Manage multiple versions of Ruby on Mac [macOS + rbenv]
Install gradle on mac
Install Java on Mac
Notes on multiple inheritance
To debug in eclipse
Install openjdk11 on mac
Install OpenJDK 8 on mac
[For beginners] Install JDK + Eclipse on Mac (without Pleiades All-in-One)
Notes on installing eclipse with Homebrew on Mac OS High Sierra
Using multiple versions of Java with Brew on Mac + jEnv
How to switch Java in the OpenJDK era on Mac