 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
DaZoner Guest
|
Posted: Tue Nov 11, 2003 10:38 pm Post subject: Missing console : JBuilder 8 |
|
|
I have written a front end gui in JAVA that launches two C++ console
applications. When launched from within JBuilder 8 the console application
output goes to a pane internal to JBuilder 8 and I see that it is correct.
When launched via a desktop shortcut to the .JAR file no console window is
launched (for System.out.println calls reporting each Process'
outputstream). The Process' errorstreams are empty. JBuilder 4 (the previous
IDE for this project) automatically launched a console window when the .JAR
application was launched. Why don't I see a console now? Is this a problem
with JBuilder 8? How can I get the console applications to have a window for
their output short of creating a TextPane on my own?
|
|
| Back to top |
|
 |
Lori M Olson (TeamB) Guest
|
Posted: Wed Nov 12, 2003 12:24 am Post subject: Re: Missing console : JBuilder 8 |
|
|
DaZoner wrote:
| Quote: | I have written a front end gui in JAVA that launches two C++ console
applications. When launched from within JBuilder 8 the console application
output goes to a pane internal to JBuilder 8 and I see that it is correct.
When launched via a desktop shortcut to the .JAR file no console window is
launched (for System.out.println calls reporting each Process'
outputstream). The Process' errorstreams are empty. JBuilder 4 (the previous
IDE for this project) automatically launched a console window when the .JAR
application was launched. Why don't I see a console now? Is this a problem
with JBuilder 8? How can I get the console applications to have a window for
their output short of creating a TextPane on my own?
|
Your desktop "launcher" is using the default javaw.exe to launch the
application. If you want a console, you need to use java.exe not javaw.exe.
--
Regards,
Lori Olson (TeamB)
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|