dcsimg
<br>how do i hide the command prompt window from the user?<br>
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   karthikeayn_lakshminarayana
Posted On:   Thursday, June 20, 2002 04:27 AM

I am running a Java application in the command prompt after clicking on a short cut which runs the bat file ,how do i hide the command prompt window from the user?.

Re: <br>how do i hide the command prompt window from the user?<br>

Posted By:   Lunkwill_Vroomfondel  
Posted On:   Thursday, June 20, 2002 10:31 AM

...you could create an "executable" jar-file.



on a sytem where java is installed, the system should use javaw.exe (yes, the "w" is meant to be there) to execute jar-files.



then dont use a bat-file, but the jar-file to double-click...

Re: <br>how do i hide the command prompt window from the user?<br>

Posted By:   David_Liu  
Posted On:   Thursday, June 20, 2002 08:12 AM

If you are running in window, you can't, unless you turn your java application in to an NT service. If you are in Unix. try adding a '&' at the end of you command.
About | Sitemap | Contact