Click here to Skip to main content
15,886,012 members
Articles / Programming Languages / Java / Java SE

Hide the JVM Console window

Rate me:
Please Sign up or sign in to vote.
3.86/5 (7 votes)
20 Mar 2000 188.7K   3.1K   13   27
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.


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
Anonymous12-Feb-05 19:42
Anonymous12-Feb-05 19:42 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
fdocampo18-Jan-06 5:29
fdocampo18-Jan-06 5:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.