Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javaw.................???????????

 
Sadashiv Borkar
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can anyone tell me what is javaw used for?.
What is difference between the javaw and java.Both are JVM's so which JVM should i use when..
Thanx In Advance
bye
Sada
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried it?
The "Window" (w) version will start a Java application without leaving open the COMMAND window that you used to start the application in the first place.
 
Sadashiv Borkar
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tony,
I have tried it it gave me the same results as said by you but is that the only difference betweem java and javaw.......
byee
sada
 
Sadashiv Borkar
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tony,
I have tried Both and Agree that whatever you have said.But Is that the only difference Between Both Of Them....
bye
Sada
 
Siddharth Mehrotra
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what do you mean by "Window" (w) version comand...
can u explain that...
and about javaw and java..
can u give some more light on it
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The (Window)w version is javaw.exe. It allows the command window to be closed without killing the JVM.
If you invoke java.exe and try to close the command window, the entire JVM (including your app) is killed.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The javaw command is identical to java, except that with javaw there is no associated console window. Use javaw when you don't want a command prompt window to appear. The javaw launcher will, however, display a dialog box with error information if a launch fails for some reason.

You can find the above here.
-Barry
 
Renu Radhika
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried going to the folder containing java.exe and javaw.exe and tried to give the command java.exe and javaw.exe.I couldnt find any difference?Can anyone help me out in seeing the difference between the two
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Renu Radhika:
I tried going to the folder containing java.exe and javaw.exe and tried to give the command java.exe and javaw.exe.I couldnt find any difference?Can anyone help me out in seeing the difference between the two


Which part of the quote in Barry Gaunt's post did you not understand ?
 
Renu Radhika
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"The "Window" (w) version will start a Java application without leaving open the COMMAND window that you used to start the application in the first place. "
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic