Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 255
  • Last Modified:

Hiding the DOS window when java works

Hello friends...

Its very interesting to have a hiden DOS window when a java application works...right...?

yea,..thats the only solution for the problem i am facing now..

my boss dont want to see that DOS window anymore..

i tried with that making my java application in an exe format..but invain..!!

i think u can help me nd i'ld be great for u..

thanku very much...

Jim
0
jimaricat072100
Asked:
jimaricat072100
1 Solution
 
sudhakar_koundinyaCommented:
I don't think it is possible to hide dos window!!!
0
 
doronbCommented:
Hi,


DOS Window??? Are you using java.exe to run your application? If so, try using javaw.exe! or jrew.exe to execute your code.


Doron
0
 
TimYatesCommented:
If your startup script looks like:

start C:\jdk1.3\bin\javaw -jar yourJar.jar

And you have "Close on exit" selected, then the app should start, and the dos window should vanish...

Good Luck!!

Tim.
0
 
jimaricat072100Author Commented:
thanks doronb for u r great answer..
thanks also to Tim..

i have to grade accordance with time...Tim sorry
0
 
TimYatesCommented:
No worries :-)

It is only fair :-)

Tim.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now