I was following this RabbitMQ tutorial and I was using Eclipse as IDE. In the tutorial, it has been asked to run Worker
's main
method on two instances of terminals/command prompts. After searching on the Internet I couldn't find a way to execute the same main
method twice in Eclipse. Is it possible to run it twice and get output on two different consoles?
Asked
Active
Viewed 125 times
0

Gerold Broser
- 14,080
- 5
- 48
- 107

Thusitha Niroshan
- 303
- 4
- 18
-
Have you seen [In Eclipse, can I have multiple Console views at once, each showing a different Console?](https://stackoverflow.com/q/7261151/1744774) already? What if you create two Run Configurations with different names for the same project and run these? – Gerold Broser Nov 26 '17 at 13:15
-
Yes, I saw this and tried both methods in both answers. and I pinned the console as well. Nothing worked. Decided to go with git bash and manually run the programs. – Thusitha Niroshan Nov 26 '17 at 13:16
-
You also have to switch to the correct console (button right of the pin button). See this video: https://youtu.be/hW0ENpGcP34?t=13s – howlger Nov 26 '17 at 18:01