🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8187

Re: printing to the console

#8187
From: Janene McCrillis
Date: Tue, 10 Apr 2001 20:10
28 lines
1884 bytes
Ah, I was using javaw, not plain java. I just copy/pasted the execution 
line from the console window. I tried it using just java and it worked.  
Now, what am I missing by not running javaw?

Thanks!

Janene

Torsten Welches wrote:

> Janene,
> 
> that's odd. Exception.printStackTrace prints to System.err which should end
> up in your console window.
> I am on NT as well and I just did a small test like this on the command
> line - I saw the Exception trace?!
> 
> public class Tester {
>     public static void main(String[] args) {
>         Exception ex = new Exception();
>         ex.fillInStackTrace();
>         ex.printStackTrace();
>     }
> }
> 
>> javac Tester.java
>> java -cp . Tester
> 
Technical Details
Message-ID: <3AD368CC.8@lmco.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!dispose.news.demon.net!demon!diablo.netcom.net.uk!netcom.net.uk!news1.ebone.net!news.ebone.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.gwi-ag.com!dnews
References: <3AD35CF9.3060007@lmco.com> <3ad365df$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,d6514d4e63a2a752
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-04-10 13:14:08 PST
Message-ID: <3AD368CC.8@lmco.com>
Date: Tue, 10 Apr 2001 14:10:52 -0600
From: Janene McCrillis <janene.r.mccrillis@lmco.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20001108 Netscape6/6.0
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: printing to the console
References: <3AD35CF9.3060007@lmco.com> <3ad365df$1_2@dnews>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.1.8.189
X-Trace: dnews 986933288 24.1.8.189 (10 Apr 2001 13:08:08 -0700)
Lines: 29
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!dispose.news.demon.net!demon!diablo.netcom.net.uk!netcom.net.uk!news1.ebone.net!news.ebone.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.gwi-ag.com!dnews