Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open multiple Spring STS instances on mac

Tags:

macos

eclipse

Any time I double click the STS icon it opens the same instance again.

How can I open multiple instances?

like image 370
Thomas Buckley Avatar asked Apr 20 '13 19:04

Thomas Buckley


4 Answers

Found answer here

So

Go to eclipse install directory and run following from command line:

./STS &
like image 109
Thomas Buckley Avatar answered Sep 18 '22 15:09

Thomas Buckley


Also check out the open command which can be used from the command line. In particular, open -n any.app will open a new instance of the application even if one is already running. This will work with any application, not just STS or eclipse where a convenient shell script is provided for you.

like image 27
dlaidlaw Avatar answered Sep 21 '22 15:09

dlaidlaw


The easiest way is to use open command with -n parameter

 1. Open terminal
 2. cd /Applications/
 3. open -n STS.app/

The same command can be used to open 2 eclipse instances. But 3rd command should be open -n Eclipse.app/

With this command, we can open as many instances as we want.

Hope it helps!

like image 25
Khader M A Avatar answered Sep 21 '22 15:09

Khader M A


Here are the steps that worked for me

  1. Go to STS folder
  2. right click on STS file and select Show Package Content
  3. Goto Content->MacOS
  4. Right click on STS and select Make Alias

Once above steps are done. Copy the alias somewhere at the sts level and click on it to start another instance of sts.

like image 44
yousafsajjad Avatar answered Sep 21 '22 15:09

yousafsajjad