Click here to Skip to main content
15,868,123 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.4K   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

 
QuestionThanks Pin
sanya.fesak21-Sep-11 19:06
sanya.fesak21-Sep-11 19:06 
Generalwindow messanger project Pin
Member 392729115-Mar-07 18:46
Member 392729115-Mar-07 18:46 
GeneralHere is the answer! Pin
[MD]Valkyrie-MT6-Nov-06 9:39
[MD]Valkyrie-MT6-Nov-06 9:39 
GeneralJ2Exe is more convinient way! Pin
alexiworld31-Mar-05 5:21
alexiworld31-Mar-05 5:21 
GeneralI need to download javaw.exe. Pin
....8-Oct-02 14:01
....8-Oct-02 14:01 
GeneralRe: I need to download javaw.exe. Pin
sadr-ba2-May-03 7:24
sadr-ba2-May-03 7:24 
Generaljavaw.exe Pin
investor12-Oct-01 4:49
investor12-Oct-01 4:49 
GeneralHide the console using javaw.exe Pin
30-May-01 3:40
suss30-May-01 3:40 
QuestionRe: Hide the console using javaw.exe Pin
vigneshit153-Mar-08 22:42
vigneshit153-Mar-08 22:42 
GeneralIn some cases use of javaw.exe results in errors Pin
blueopera15-Aug-00 13:53
blueopera15-Aug-00 13:53 
GeneralRe: In some cases use of javaw.exe results in errors Pin
19-Jun-01 19:39
suss19-Jun-01 19:39 
hi .

i am facing the problem while launching the java application using javaw.exe


The problem is after double clicking on the desktop shortcut icon of application the aaplication gets launch but console window (DOS window ) is shown for 1-2 seconds . Can u please tell me why this would be happening ??

please write me at callme_sanjay@yahoo.com ..

thanx
GeneralJust use JAVAW.EXE instead of using JAVA.EXE Pin
Davanum Srinivas4-May-00 6:50
Davanum Srinivas4-May-00 6:50 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
greenanr12-Jul-00 5:40
greenanr12-Jul-00 5:40 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
ReiniBugman15-Jul-00 13:37
ReiniBugman15-Jul-00 13:37 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
greenanr24-Jul-00 9:13
greenanr24-Jul-00 9:13 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
18-Jun-01 3:53
suss18-Jun-01 3:53 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
30-Aug-01 18:26
suss30-Aug-01 18:26 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
21-Sep-01 2:38
suss21-Sep-01 2:38 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
8-Oct-01 3:28
suss8-Oct-01 3:28 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
8-Oct-01 11:28
suss8-Oct-01 11:28 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
9-Oct-01 20:14
suss9-Oct-01 20:14 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
11-Oct-01 4:21
suss11-Oct-01 4:21 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
27-Oct-01 10:35
suss27-Oct-01 10:35 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
cainj30-Dec-02 8:59
susscainj30-Dec-02 8:59 
GeneralRe: Just use JAVAW.EXE instead of using JAVA.EXE Pin
aalo4-Jun-04 9:44
aalo4-Jun-04 9:44 

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.