Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Hide the JVM Console window

0.00/5 (No votes)
20 Mar 2000 1  
A simple application that hides the JVM console window while your JVM GUI runs

Hide JVM Console Windows

This simple application allows you to hide Java VM console window when you start your Java GUI application. That problem exists only for Windows, of course. If anyone can point me to a more simple solution, I'd appreciate it.

This application (JStart) was designed under Visual Studio 6 and tested for Windows NT V4.0 and Windows 98 and for JRE 1.2.2.

How to Use JStart

It is simple:

JStart  [-hide]  appbatfile.bat

Here is a small trick. Your command line for your Java VM app should be put inside a batch file (e.g., appbatile.bat). Otherwise, JStart will hide the GUI application as well. :)

It's definitely a problem with inheritance of console, handlers, etc. If anyone can dig out a solution for this, please let me know.

History

  • 21st March, 2000: Initial version

License

This article has no explicit license attached to it, but may contain usage terms in the article text or the download files themselves. If in doubt, please contact the author via the discussion board below.

A list of licenses authors might use can be found here.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here