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.
Summary: | 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 | ||
---|---|---|---|
Product: | ide | Reporter: | stjava |
Component: | Code | Assignee: | issues@ide <issues> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | IDE log |
Description
stjava
2016-04-12 00:08:09 UTC
Created attachment 159218 [details]
IDE log
Can you please share the project? (or at least relevant parts) Thanks 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"); } } 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 No feedback from reporter. Resolve as invalid |