This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 31828

Summary: error messages from runide.sh don't appear on stderr
Product: platform Reporter: Marian Mirilovic <mmirilovic>
Component: -- Other --Assignee: Jesse Glick <jglick>
Status: VERIFIED FIXED    
Severity: blocker Keywords: SIMPLEFIX
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Marian Mirilovic 2003-03-10 15:50:22 UTC
Issue has been transferred from BugTraq:
http://developer.java.sun.com/developer/bugParade/bugs/4742309.html
---------------------------------------------

Description: 
When runide.sh is executed error messages are published on stdout, not stderr -
this contradicts the standard shell conventions.

To duplicate:
Assume that the directory /foobar/jdk doesn't exist on the system:

bash-2.00$ ffj -jdkhome /foobar/jdk 1>/dev/null
bash-2.00$ 


Work Around: 
Dont redirect the (copious!!!!) output on stdout to some non-visible stream

Suggested Fix: 
Modify runide.sh to put error messages onto stderr

A comment.
Comment 1 Jesse Glick 2003-03-11 19:11:44 UTC
committed   * Up-To-Date  1.48        core/release/bin/runide.sh
committed   * Up-To-Date  1.97       
core/src/org/netbeans/core/NonGui.java
Comment 2 Marian Mirilovic 2003-03-18 20:18:46 UTC
verified in source code