Solved

Hiding the DOS window when java works

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
servlet example issue 6 46
arguments to jar 5 33
Java: The Public Class Main 4 30
hashmap order 17 36
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

791 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