How to start java GUI program WITHOUT additional Windows command line prompt console window?

Discussion in 'Java' started by Ulf Meinhardt, Aug 7, 2009.

  1. I want to start GUI based Java programs by simple clicking on a batch script file which in turn contains
    a command like the following:

    java myclass

    or

    java myclass "someparm"


    However when I click on the batch script file in Windows(XP) at first a black command line
    prompt window pops up and then the actual Java GUI window is shown.

    The black command line prompt window remains visible until I close the Java GUI window.

    How can I prevent this?

    I want to see just the Java GUI window nothing else.
    I don't even want to have the black command line window to be minimized.

    How can I achieve this?

    Ulf
     
    Ulf Meinhardt, Aug 7, 2009
    #1
    1. Advertisements

  2. Re: How to start java GUI program WITHOUT additional Windows commandline prompt console window?

    On Aug 7, 10:28 pm, (Ulf Meinhardt) wrote:
    > I want to start GUI based Java programs by simple clicking ..


    A link? Use webstart. The only thing that will 'pop up'
    is a download/splash screen, and possibly security dialogs.

    And in future, when cross-posting or setting follow-ups,
    please *inform the reader(1).*

    (1) X-post to c.l.j.p/h w/ f-u to c.l.j.h only.

    --
    Andrew T.
    pscode.org
     
    Andrew Thompson, Aug 10, 2009
    #2
    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. Jan Persson
    Replies:
    7
    Views:
    781
    Jan Persson
    Feb 23, 2004
  2. Replies:
    1
    Views:
    581
    Anthony Borla
    Feb 21, 2005
  3. Tian
    Replies:
    4
    Views:
    13,062
  4. Miktor
    Replies:
    7
    Views:
    12,678
    Joe Bacigalupa
    Aug 9, 2005
  5. raeiko

    c program - command line prompt - need help

    raeiko, Mar 1, 2009, in forum: C Programming
    Replies:
    8
    Views:
    2,824
    Richard
    Mar 2, 2009
  6. Ulf Meinhardt
    Replies:
    6
    Views:
    1,129
    Martin Gregorie
    Aug 25, 2009
  7. albert kao
    Replies:
    3
    Views:
    2,488
    Arne Vajhøj
    Feb 2, 2011
  8. iMath
    Replies:
    3
    Views:
    200
    iMath
    Nov 23, 2013
Loading...