Solved

Hiding the DOS window when java works

Posted on 2001-06-23
5
214 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

773 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