edit: milhous's answer seems to be the officially supported way to do this as of 10.5. earlier version of os x and even 10.5 and up should still work using the following instructions though.
open the command line (terminal)
navigate to your eclipse installation folder, for instance:
this last command will launch eclipse and immediately background the process.
rinse and repeat to open as many unique instances of eclipse as you want.
you might have to change the tomcat server ports in order to run your project in different/multiple tomcat instances, see tomcat server error - port 8080 already in use
window -> new window
this opens a new window and you can then open another project in it. you can use this as a workaround hopefully.
it actually allows you to work in same workspace.
a more convenient way:
create an executable script as mentioned above:
cd /applications/adobe\ flash\ builder\ 4.6
open -n adobe\ flash\ builder\ 4.6.app
in you current instance of flashbuilder or eclipse, add a new external tool configuration. this is the button next to the debug/run/profile buttons on your toolbar. in that dialog, click on "program" and add a new one. give it the name you want and in the "location" field, put the path to the script from step 1:
you can stop at step 2, but i prefer adding a custom icon to the toolbar. i use a the quick launch plugin to do that:
after adding the plugin, go to "run"->"organize quick lauches" and add the external tool config from step 2. then you can configure the icon for it.
after you save that, you'll see the icon in your toolbar. now you can just click it every time you want a new flashbuilder/eclipse instance.
you can run multiple instances of eclipse by creating a pseudonym for eclipse application in it's folder and using it for running new eclipse instance
lets try downloading this in your eclipse on mac you will be able to open multiple eclipse at a time link
name : macos eclipse launcher
- go to eclipse market place.
- search for "macos eclipse launcher" and install.
- it will restart .
- now under file menu check for open option > there you will find other projects to open also at same time .
i found this solution a while back, can't remember where but it still seems to work well for me.
create a copy of eclipse.app for each workspace you want to work in (for this example projectb.app), then open projectb.app/contents/macos/eclipse.ini and add these two lines at the beginning of the file:
... substituting where your workspace is located. when you launch projectb.app it will automatically start with that workspace instead of prompting for a location, and you should be able to run it at the same time as other eclipse instances with no problem.
if you want to open multiple workspaces and you are not a terminal guy, just locate the unix executable file in your eclipse folder and click it.
the path to the said file is
eclipse(folder) -> eclipse(right click) -> show package contents -> contents -> macos -> eclipse(unix executable file)
clicking on this executable will open a separate instance of eclipse.
in terminal simply paste below line and hit enter ..
/applications/eclipse.app/contents/macos/eclipse ; exit;
launch terminal and run
open -n /applications/eclipse.app for a new instance.
if you're like me, you probably have terminal running most of the time as well. you could just create an alias in /users//.bash_profile like this alias eclipse='open -n path_to_eclipse.app'
then all you have to do is just open the terminal and type eclipse.
based on a previous answer that helped me, but different directory:
you can create an applescript file to open eclipse with a given workspace. you can even save the applescript file as an application, which is equivalent to creating an alias with arguments in windows os.
open script editor and type the following:
do shell script "open '/path/to/your/eclipse/installation' -n --args -data /path/to/your/workspace"
do shell script "open '/applications/eclipse.app' -n --args -data /myworkspaces/personal"
press the run button to check it's working.
this script can be saved as such, but i prefer to save it as an application. that way i can customize the icon by copying the *.icns icon from the original eclipse.app bundle to the script application bundle.
to open an app folder, use the "see contents" contextual menu option. it should look like this:
where "main.scpt" is the applescript file and "applet.icns" is the icon from the original eclipse bundle.
instead of copying eclipse.app around, create an automator that runs the shell script above.
run automator, create application.
choose utilities->run shell script, and add in the above script (need full path to eclipse)
then you can drag this to your dock as a normal app.
repeat for other workspaces.
you can even simply change the icon - https://discussions.apple.com/message/699288?messageid=699288
one another way is just to duplicate only the "eclipse.app" file instead of making multiple copies of entire eclipse directory. right-click on the "eclipse.app" file and click the duplicate option to create a duplicate.
2018 update since many answers are no longer valid
os x heigh sierra (10.13) with eclipse oxygen
go to wherever your eclipse is installed. right-click -> show package contents -> contents -> macos -> double-click the executable called eclipse
a terminal window will open and a new instance of eclipse will start.
note that if you close the terminal window, the new eclipse instance will be closed also.
to make your life easier, you can drag the executable to your dock for easy access
if the question is how to easily use eclipse with multiple different workspaces, then you have to use a kludge because shortcuts in os x do not provide a mechanism for passing command line arguments, for example the "--data" argument that eclipse takes to specify the workspace. while there may be different reasons to create a duplicate copy of your eclipse install, doing it for this purpose is, imnsho, lame (now you have to maintain multiple eclipse configurations, plugins, etc?).
in any case, here is a workaround. create the following script in the (single) eclipse directory (the directory that contains eclipse.app), and give it a ".command" suffix (e.g. eclipse-workspace2.command) so that you can create an alias from it:
# open, as suggested by milhous
open -n $(dirname $0)/eclipse.app --args -data /path/to/your/other/workspace
now create an alias to that file on your desktop or wherever you want it. you will probably have to repeat this process for each different workspace, but at least it will use the same eclipse installation.
actually a much better (gui) solution is to copy the eclipse.app to e.g. eclipse2.app and you'll have two eclipse icons in dock as well as eclipse2 in spotlight. repeat as necessary.
to make this you need to navigate to the eclipse.app directory and use the following command:
open -n eclipse.app
by far the best solution is the osx eclipse launcher presented in http://torkild.resheim.no/2012/08/opening-multiple-eclipse-instances-on.html it can be downloaded in the marketplace http://marketplace.eclipse.org/content/osx-eclipse-launcher#.ugwfrrjcahk
i use it everyday and like it very much! to demonstrate the simplicity of usage just take a look at the following image:
this seems to be the supported native method in os x:
open -n eclipse.app
be sure to specify the ".app" version (directory); in os x mountain lion erroneously using the symbolic link such as
open -n eclipse, might get one gatekeeper stopping access:
"eclipse" can't be opened because it is from an unidentified developer.
your security preferences allow installation of only apps from the mac app store and identified developers.
even removing the extended attribute
com.apple.quarantine does not fix that. instead, simply using the ".app" version will rely on your previous consent, or prompt you once:
"eclipse" is an application downloaded from the internet. are you sure you want to open it?
- Open multiple Eclipse workspaces on the Mac
- Open Type in Eclipse not showing multiple files of the same name
- Having multiple perspectives open at the same time in Eclipse
- Mac OS Catalina "to open eclipse you need to install the legacy java se 6 runtime"
- Eclipse open multiple workspaces from bat file
- Multiple contexts with the same path error running web service in Eclipse using Tomcat
- What is the keyboard shortcut to go to a file in Eclipse on Mac OS X?
- What is the keyboard shortcut for method suggestions in Eclipse on Mac OS X?
- What are the shortcut keys to change to the next and previous tab in Eclipse on Mac OS X?
- Eclipse file search finds the same file multiple times
- Importing multiple projects with the same name in Eclipse
- Where does Eclipse save the list of files to open on startup?
- How do you open an external Vim editor containing the active Eclipse editor file
- Where is the location of 'plugins' directory for eclipse mars in mac OSX?
- How do you open the Eclipse web browser?
- Can't install Eclipse - "Failed to create the Java Virtual Machine" on Mac
- How to install Eclipse + PHP Development Tools (PDT) + Debugger on Mac in The Year 2011
- How do I get Logcat for multiple devices running at the same time in Eclipse
- How do I get the workbench window to open a modal dialog in an Eclipse based project?
- What is the shortcut for running java application in mac eclipse
- Open terminal or finder from Eclipse in Mac
- Eclipse Maven showing multiple paths for the same file
- Eclipse open a file contained in the project
- eclipse : how to differentiate/distinguish different open workspaces
- Avoid the "no JREs installed in the workspace that are strictly compatible" warning in Eclipse for multiple Java versions
- Eclipse detecting the same device multiple times
- How to open multiple Spring STS instances on mac
- What is the Eclipse shortcut for Open Declaration?
- What's the default font that Eclipse uses on Mac OS X?
- Is there a way to force Eclipse to open in the default perspective?
More Query from same tag
- Adding Scrollview in Android Project Layout
- Loading Spinner for Webview Fragment
- Renaming a .scala file in Scala IDE does not rename the class
- Using java.lang.ProcessBuilder
- How to navigate to a parent activity
- Eclipse Compiler Error (can not be resolved to a type)
- Does SWT.MOZILLA browser widget have SVG support?
- Using Hotswap agent with Jboss 5 in Eclipse
- parseSdk content failed error on Eclipse on Ubuntu 12.04 LTS
- How can I back-up my java project in Eclipse?
- SDL test project Build Failure Error Message using Eclipse C/C++ IDE 2020-06 on Windows 10
- Enable Jasper Studio Webservice plugin
- Android taking in information from text fields and entering into website for login
- How to add project to Create Project Wizard in Eclipse
- Parsing online XML file into a database with sax using Android
- eclipse not working on ubuntu operating system
- Android trying to run my project in eclipse and end up with xml.out
- Eclipse doesn't mark errors immediately when editing Android project
- Search in source attachment in Eclipse
- Java: How can I get a deterministic method result when it is launched from a user interface?
- Share git repository via pendrive
- Eclipse configuration "Execution Environments"
- running a processing applet in eclipse
- Getting the "no suitable driver found for..." JDBC error, but I already added the jar to my Eclipse path
- Issue when import java project
- Javafx cannot be resolved in Eclipse although working with JavaFX Library
- How can I get the random numbers to print on the same line (for ex: 2, 10, 30, 25,14)
- ZXing integration with eclipse and android, NoClassDefFoundError
- copying or renaming an android project in eclipse
- How to attach Android Source to Eclipse