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 258780 - No output to console. Program simple only using System.out.println. Only thing printed in console is BUILD SUCCESSFUL (total time: 0 seconds) Thanks for your help
Summary: No output to console. Program simple only using System.out.println. Only th...
Status: RESOLVED INVALID
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-12 00:08 UTC by stjava
Modified: 2016-07-27 21:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (45.16 KB, text/plain)
2016-04-12 00:08 UTC, stjava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stjava 2016-04-12 00:08:09 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.8.0_77
Runtime = Java HotSpot(TM) Client VM 25.77-b03

Reproducibility: Happens every time

STEPS:
  * Open dialog Foo
  * Click on button "Click me"

ACTUAL:
  nothing happens

EXPECTED:
  message pops u
Comment 1 stjava 2016-04-12 00:08:13 UTC
Created attachment 159218 [details]
IDE log
Comment 2 Jiri Prox 2016-04-21 22:46:32 UTC
Can you please share the project? (or at least relevant parts)

Thanks
Comment 3 stjava 2016-05-01 23:21:21 UTC
I had used Netbeans a while back and wanted to use it again.  As you can see there this is too simple not to work.  It is set to main and builds a jar file that can execute, so there is nothing other than it not outputing to console.  This is driving me crazy and have tried just about everything I can think of!!!!!!!!!



package helloworld2;

/**
 *
 */
public class HelloWorld2 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        System.out.println("Hello Please");
    }
    
}
Comment 4 Jiri Prox 2016-05-03 08:43:48 UTC
Is this the only class in the project? (just to be sure, the another class is not set as main class).

How did you run the project? By Run Project or by Run File? Can you try the another way?

I suppose the compile on save is on. Can you try to disable it in the project properties? (to check, the file timestamps are not broken somehow).

Thanks
Comment 5 markiewb 2016-07-27 21:49:57 UTC
No feedback from reporter. Resolve as invalid