Solved

Hiding the DOS window when java works

Posted on 2001-06-23
5
237 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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…
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…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

688 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