Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No Console Window...

Status
Not open for further replies.

mackey333

Technical User
May 10, 2001
563
US
How do I keep the console from showing up when I run my java program? -Greg :-Q

flaga.gif
 
unfortunatly, this is for a class and we always run our programs from an IDE, is there anyway to dynamically close or minimize the console window? -Greg :-Q

flaga.gif
 
well then your IDE needs to supply an option/setting or something to accomplish that. There is probably a setting pointing to "java.exe" that you can change to "javaw.exe"

you can't close the window since it is your JVM it needs to remain running.

If you can dynamically hide it from your Java application? I guess maybe using JNI but that hardly seems worth it.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top