New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

Opening Multiple Instances Of An Application


Post Reply New Thread Subscribe

 
Thread Tools
Er_bhambra

 
Member Since: Mar 28, 2009
Posts: 4
Er_bhambra is on a distinguished road

Er_bhambra is offline
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
QUOTE Thanks
zacharace

 
Member Since: Jul 09, 2008
Location: Bexley, OH, USA
Posts: 191
zacharace is on a distinguished road
Mac Specs: alMB, 2.0C2D, 2GB, 500GB, SD, etc

zacharace is offline
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."
QUOTE Thanks
DarkestRitual

 
Member Since: Apr 09, 2009
Location: Ithaca NY
Posts: 2,073
DarkestRitual is just really niceDarkestRitual is just really niceDarkestRitual is just really niceDarkestRitual is just really nice
Mac Specs: 13 inch alMacBook 2GHz C2D 4G DDR3, 1.25GHz G4 eMac

DarkestRitual is offline
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.
QUOTE Thanks
Er_bhambra

 
Member Since: Mar 28, 2009
Posts: 4
Er_bhambra is on a distinguished road

Er_bhambra is offline
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.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,626
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
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.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks

Post Reply New Thread Subscribe


« Apple Care inquiry | Showing tasks in Entourage »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Launching an application via script Haravikk OS X - Development and Darwin 3 03-25-2008 06:48 PM
Does pushing the red gel button really close the application? Jaygray Switcher Hangout 10 03-08-2008 09:33 AM
Application Disappeared from DOC Rupin OS X - Operating System 3 10-27-2007 06:05 PM
Parallels - Opening an application tobywuk Switcher Hangout 8 09-28-2007 01:26 PM
Custom Internet Application Randomly Freezing rlecjr OS X - Development and Darwin 0 08-27-2004 09:40 AM

All times are GMT -4. The time now is 04:35 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?