I wrote a Windows executable that gets launched by double-clicking the name of java source program. My executable invokes java.exe with suitable parameters to cause the execution of DrJava.exe loaded with the content of the java file whose name was double-clicked. My executable runs with a hidden window. By java.exe creates a Command window that serves no useful purpose in this app. Is there a simple way to suppress the creation of this Command window. Java.exe help does not indicate any option to cause it to run "silently". The generated window's caption contains the fully qualified name of jave.exe. I guess I could get my app to search for that window and, when found, send it ShowWindow/Hide message. Any other idea?
Michael Morris
Ranch Hand
Joined: Jan 30, 2002
Posts: 3451
posted
0
Use javaw instead of java. Michael Morris
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher