(The behavior you describe can be reproduced by writing "start java HelloWorld". Another possibility is that for some reason your "java" command has become polluted with the "start" command. (on rereading, seems to have the right tack.Do you have your JRE configured so it opens the Java console? You can configure this feature here: Control Panel -> Java -> Advanced -> Java console.Easiest way to diagnose what really's happening is to open an actual command prompt window (Start->cmd) and run the command in that window Jokes aside: when you run a command line executable in Windows and it finishes, that's pretty much what should happen.It's hard to answer such a vague question. We don't know what your program looks like, nor what you want it to achieve.I'm unable to get from them what changed.) (and no I don't know what changed, I believe the machine received some sort of security patch from our corporate security staff. I'm not a new-be, I've been running Java from the command line for years and this just started to happen. I can step through programs, but the output is not displayed in the output window. My question is, "Why is the java executable opening this java window?" On other machines it puts it's output right in the same DOS window.Īs another note Netbeans doesn't display the output in the output window either, in this case it appears to be totally lost. The same window appears then disappears right-a-way. If I select (very quickly) some of the text about loading classes, I can see, through task manager, that Java is running.
The same window opens and I can see all the classes loading but then immediately closes