Solved

Hiding the DOS window when java works

Posted on 2001-06-23
5
205 Views
Last Modified: 2010-03-31
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
Comment
Question by:jimaricat072100
5 Comments
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 6222546
I don't think it is possible to hide dos window!!!
0
 
LVL 9

Accepted Solution

by:
doronb earned 200 total points
ID: 6222638
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
 
LVL 35

Expert Comment

by:TimYates
ID: 6224263
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
 
LVL 1

Author Comment

by:jimaricat072100
ID: 6226380
thanks doronb for u r great answer..
thanks also to Tim..

i have to grade accordance with time...Tim sorry
0
 
LVL 35

Expert Comment

by:TimYates
ID: 6226788
No worries :-)

It is only fair :-)

Tim.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
solarwind tftp server 2 44
get weblogic logged in user in java 2 57
JList custom Cell Renderer refresh 15 53
custom annotations 9 28
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This video teaches viewers about errors in exception handling.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now