Opening Multiple Instances Of An Application

Joined
Mar 28, 2009
Messages
4
Reaction score
0
Points
1
Hello

I want to open multiple instances of java application. But i can't use 'Command + N' because that doesn't work for it. Any other that can work for me and i don't want to duplicate the file in my system because sometimes i have to run single copy and sometimes i need to run hundreds of copy of my Application.

Regarding system: I am running this application on Laptop MAC Book Pro (Leopard 10.5.7)

Thanks
 
Joined
Jul 9, 2008
Messages
191
Reaction score
3
Points
18
Location
Bexley, OH, USA
Your Mac's Specs
alMB, 2.0C2D, 2GB, 500GB, SD, etc
Just to clarify: What Java application are you talking about? The command-N key opens new windows/documents, depending on the application...not sure what you mean by "multiple instances."
 
Joined
Apr 9, 2009
Messages
2,073
Reaction score
68
Points
48
Location
Ithaca NY
Your Mac's Specs
13 inch alMacBook 2GHz C2D 4G DDR3, 1.25GHz G4 eMac
He means he wants the same app open 3 different times. Not new windows, I don't think, but an actual separate running version of the app. Not sure why he wants it, but I'm pretty sure that's WHAT he wants.

Also, why does everyone in the switcher forum always capitalize every letter in the word Mac? It's not an acronym, just a clipping.
 
OP
E
Joined
Mar 28, 2009
Messages
4
Reaction score
0
Points
1
Thanks for your reply. Darkest you are very right that i want to run an application instances more than.

zacharace I already said that's a java based application not word/excel file. Actually we have a server which receives data from multiple client and i want capture data for every client in my java based application that runs perfectly on windows. I can run multiple instance too. But in my Leopard I'm not able to do that.

So please reply with a positive feedback.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
This article will tell you how to run multiple instances of an application bundle but if I am correct, you probably don't have an app bundle. If it is just a jar file, why not simply launch multiple instances from the Terminal (/Applications/Utilities/Terminal.app). Executing the following should do just this:
Code:
java -jar <jarfile>
Replace <jarfile> with the name of the jar archive. This assumes you are using a jar in the first place. If not, simply launch multiple instances of your class file:
Code:
java <class>
Again, replace <class> with the name of the class file.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top