N
nos
If I run a java program in a jar file from the command window like this
java -jar NewDraw.jar
where the jar file is in the current directory
everything is fine including the System.out.println()
which comes on the same command window.
But if I make a shortcut to this file on my desktop
(Windows XP Pro sp 1) it runs fine but the
command window is not created, so there is
no output of the System.out.println().
Anyone know about this? Is it just the way it is?
BTW: if I do the same thing with a Perl 5 program
it creates the command window, writes stuff to it
then deletes it (but at least I see something.)
java -jar NewDraw.jar
where the jar file is in the current directory
everything is fine including the System.out.println()
which comes on the same command window.
But if I make a shortcut to this file on my desktop
(Windows XP Pro sp 1) it runs fine but the
command window is not created, so there is
no output of the System.out.println().
Anyone know about this? Is it just the way it is?
BTW: if I do the same thing with a Perl 5 program
it creates the command window, writes stuff to it
then deletes it (but at least I see something.)