Results 1 to 2 of 2
  1. #1
    cmulcahy is offline Member
    Join Date
    Mar 2012
    Posts
    1
    Rep Power
    0

    Default Multi-platform application launcher

    I use an application that is multi-platform (Windows, Linux, OSX). I launch multiple copies of this application with different command line parameters. Each has its own window title.

    I'd like to write a launcher for this application. I have a couple of questions. What is the best cross-platform way of launching applications from within Java? How can I tell if the application is already running? I can use JNA for Windows to enumerate all open windows looking for the title. What about the other OSes?

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,619
    Rep Power
    23

    Default Re: Multi-platform application launcher

    Are you talking about using a jar file as a way to launch an aplication?
    Open a socket and use it to detect if another copy of the app is running.
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. Multi platform plugin
    By atercor in forum Eclipse
    Replies: 0
    Last Post: 11-29-2010, 03:26 AM
  2. Axiomatic Multi-Platform C 1.6.6
    By levent in forum Java Software
    Replies: 0
    Last Post: 07-26-2007, 08:01 PM
  3. Axiomatic Multi-Platform C 1.6.5
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 07-11-2007, 03:19 PM
  4. Axiomatic Multi-Platform C 1.6.4
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 06-21-2007, 11:49 PM
  5. Axiomatic Multi-Platform C 1.6.3
    By levent in forum Java Software
    Replies: 0
    Last Post: 06-05-2007, 11:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •