Stating a jar file

Discussion in 'Java' started by bruce, Dec 21, 2010.

  1. bruce

    bruce Guest

    I am currently starting my jar files using a .bat file with the single
    line:
    javaw -jar myfile.jar

    Is there a more "modern" way to do this?

    Thanks...

    Bruce
     
    bruce, Dec 21, 2010
    #1
    1. Advertisements

  2. On 12/21/2010 12:22 PM, bruce wrote:
    > I am currently starting my jar files using a .bat file with the single
    > line:
    > javaw -jar myfile.jar
    >
    > Is there a more "modern" way to do this?
    >
    > Thanks...
    >
    > Bruce


    Windows and Linux both allow you to click on a file icon of a .jar and
    run it. What are you really trying to do?

    --

    Knute Johnson
    s/nospam/knute2010/
     
    Knute Johnson, Dec 21, 2010
    #2
    1. Advertisements

  3. bruce

    Roedy Green Guest

    On Tue, 21 Dec 2010 12:22:30 -0800 (PST), bruce
    <> wrote, quoted or indirectly quoted someone who
    said :

    >Is there a more "modern" way to do this?


    see http://mindprod.com/jgloss/jar.html#ASSOCIATION
    --
    Roedy Green Canadian Mind Products
    http://mindprod.com
    A short order cook is a master of multitasking. Every movement is
    optimised from years of practice. Yet when a computer executes a
    multitasking program, it approaches the task as if for the first time.
     
    Roedy Green, Dec 22, 2010
    #3
  4. "bruce" <> wrote in message
    news:...
    > I am currently starting my jar files using a .bat file with the single
    > line:
    > javaw -jar myfile.jar
    >
    > Is there a more "modern" way to do this?


    If you write a service that interfaces with Twitter you can start them from
    your cell phone.
     
    Mike Schilling, Dec 22, 2010
    #4
  5. bruce

    bruce Guest

    On Dec 21, 3:29 pm, Knute Johnson <> wrote:
    > On 12/21/2010 12:22 PM, bruce wrote:
    >
    > > I am currently starting my jar files using a .bat file with the single
    > > line:
    > > javaw -jar myfile.jar

    >
    > > Is there a more "modern" way to do this?

    >
    > > Thanks...

    >
    > > Bruce

    >
    > Windows and Linux both allow you to click on a file icon of a .jar and
    > run it.  What are you really trying to do?
    >
    > --
    >
    > Knute Johnson
    > s/nospam/knute2010/


    Thanks..

    I created a shortcut on my desktop.. Double clicking works as
    expected..

    Bruce
     
    bruce, Dec 22, 2010
    #5
  6. bruce

    bruce Guest

    On Dec 21, 11:27 pm, "Mike Schilling" <>
    wrote:
    > "bruce" <> wrote in message
    >
    > news:...
    >
    > > I am currently starting my jar files using a .bat file with the single
    > > line:
    > > javaw -jar myfile.jar

    >
    > > Is there a more "modern" way to do this?

    >
    > If you write a service that interfaces with Twitter you can start them from
    > your cell phone.


    I wasn't expecting anything "THAT" modern!!

    Thanks for the response.

    Bruce
     
    bruce, Dec 22, 2010
    #6
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. lucy
    Replies:
    6
    Views:
    32,471
    steve
    Sep 7, 2004
  2. JML
    Replies:
    3
    Views:
    1,419
    Andrew Thompson
    Oct 26, 2004
  3. Arnold Peters
    Replies:
    0
    Views:
    889
    Arnold Peters
    Jan 5, 2005
  4. muttley
    Replies:
    0
    Views:
    3,202
    muttley
    Oct 20, 2005
  5. cyberco
    Replies:
    4
    Views:
    4,234
    Roedy Green
    Feb 14, 2006
  6. Arnold Peters
    Replies:
    0
    Views:
    917
    Arnold Peters
    Jan 5, 2005
  7. Replies:
    0
    Views:
    602
  8. Nathan Sokalski
    Replies:
    1
    Views:
    326
    kimiraikkonen
    Oct 23, 2008
Loading...