This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes <terminated, exit value: 0>C:\Program Files\Java\jre6\bin\javaw.exe (Feb 12, 2009 1:54:50 PM)	Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "<terminated, exit value: 0>C:\Program Files\Java\jre6\bin\javaw.exe (Feb 12, 2009 1:54:50 PM)	" Watch "<terminated, exit value: 0>C:\Program Files\Java\jre6\bin\javaw.exe (Feb 12, 2009 1:54:50 PM)	" New topic
Author

<terminated, exit value: 0>C:\Program Files\Java\jre6\bin\javaw.exe (Feb 12, 2009 1:54:50 PM)

bryan lim
Ranch Hand

Joined: Dec 26, 2008
Posts: 140
i was running my program and i got this error. can someone advice me what is wrong? what is javaw.exe for?

<terminated, exit value: 0>C:\Program Files\Java\jre6\bin\javaw.exe (Feb 12, 2009 1:54:50 PM)
bryan lim
Ranch Hand

Joined: Dec 26, 2008
Posts: 140
i am coding a web crawler
Michael Peremsky
Greenhorn

Joined: Nov 07, 2008
Posts: 10
Did you compile your code with a different JDK? 1.5 (5.0) and are now trying to run it with 6.0?
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11161
    
  16

No offense, but the very first item when you google "javaw.exe" is a page with the title "What is javaw.exe? Is javaw.exe spyware or a virus?".


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38025
    
  22
I thought I had replied earlier.

I found your "is javaw.exe spyware or virus?" link eventually, Fred. It seemed to be where somebody was being very suspicious.

You can find more about javaw here: look particularly at the end of the "DESCRIPTION" section.

Are you getting that message from an IDE? I know some IDEs (eg Eclipse) seem to use javaw to start. The message you quote looks similar to the messages I get whenever a program finishes on NetBeans. There is a convention that exit value of 0 means normal completion, so it suggests you are getting no errors if there is a 0.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11161
    
  16

I guess my point was more that a quick google search would have found the answer much faster than posting the question here. I didn't realize google changes it's page ranking so fast.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38025
    
  22
It must change quickly; the "virus" page didn't appear unless I searched on "virus."
 
Consider Paul's rocket mass heater.
 
subject: <terminated, exit value: 0>C:\Program Files\Java\jre6\bin\javaw.exe (Feb 12, 2009 1:54:50 PM)
 
Similar Threads
HTTP Status 500 error
Weird error message while running Eclipse with the BIRT plugin
how to see how control is moving in a java program during execution
Warning while starting tomcat6.0 server.
org.apache.catalina.core.AprLifecycleListener was not found