Running Java on an XP/Windows machine - without the DOS box.

J

jaj_developer

All,

Other than websart etc, is there a way (programs, flags, tags etc..) of
running a java application (not applet) on a machine? The code will be
installed on the box, and will be run but the users (!!!) donot want
the MS-DOS box to appear/be visable. Is this (quickly and easily)
possible.

Ta

Jaj
 
P

Peter MacMillan

All,

Other than websart etc, is there a way (programs, flags, tags etc..) of
running a java application (not applet) on a machine? The code will be
installed on the box, and will be run but the users (!!!) donot want
the MS-DOS box to appear/be visable. Is this (quickly and easily)
possible.

Ta

Jaj

Windows only, but: javaw.

http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html

"
The javaw command is identical to java, except that with javaw there is
no associated console window. Use javaw when you don't want a command
prompt window to appear. The javaw launcher will, however, display a
dialog box with error information if a launch fails for some reason.
"
 
J

jaj_developer

Peter,

Thanks that solves one of the problems :-]

Currently we use the class bat files to run the app, and its that box
also I need hidden.

Thanks

Jaj
 
T

tzvika.barenholz

There is also another way. You can make your program a service and
disallow it to "interact with desktop"
 
T

Thomas Kellerer

Currently we use the class bat files to run the app, and its that box
also I need hidden.
Create a shortcut that points to javaw with all the needed parameters. Thus you
don't need the batchfile at all.

If you really need the the batch file you could use "start javaw" that will
still display the box, but it will disappear again.

Thomas
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top