"Is there some way to launch a Java application under Windows
without a DOS window?"
Supposedly, yes. The following post to
comp.lang.java.programmer describes one technique.
Note that I have not tried this, but it sounds plausible.
Many other posts make reference to javaw, supplied
with the Windows version of the JDK.
bryanrus@gte.net wrote:
>
> I would like to know how to make a java application start from a
> double-clickable icon. I am using JDK 1.1.3 on Win 95 and would like to be
> able to distribute an application that starts from an icon.
>
> -----== Posted via Deja News, The Leader in Internet Discussion ==-----
> http://www.dejanews.com/ Now offering spam-free web-based newsreading
That's easy - just follow these steps (unfortunately I know the ger-
man windows keywords only and had to find a translation which might
not be what MS has chosen for their english/international Win95 re-
leases)
- use the Win95 and locate the Java bin directory (the one that
contains "java" and "javaw")
- drag either "java" or "javaw" onto your desktop ("javaw" is
equivalent to "java" but does not show a console window), this
will create a "shortcut" to the Java interpreter
- rename that shortcut (e.g. to the name of your main class file)
- open the properties window for your shortcut
- add the name of your main class file to "destination" (at the
end of the full "java(w)" path, insert any required flags here
- change the working directory to the one which contains all
your class files
- if desired, choose another icon for your program
I'm using this approach for my programs and it works fine...
Andreas Rozek
Rechenzentrum Universitaet Stuttgart ****** ** ** *****
Kommunikationssysteme/BelWue-Entwicklung ** ** ** ** **
Allmandring 3a ** ** ** ** **
D-70550 Stuttgart ****** ** ** *****
*** ** ** **
Telefon: ++49 (711) 685-4514 ** ** ** ** **
Telefax: ++49 (711) 678-8363 ** ** ***** ******
E-Mail: Andreas.Rozek@RUS.Uni-Stuttgart.De
URL: http://WWW.Uni-Stuttgart.De/People/Rozek