Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Codewarrior Java > How to get acce...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 76 of 81
Post > Topic >>

How to get access to the Windows PID assigned to a ("java.exe") application

by "Fran Maurais" <fmaurais@[EMAIL PROTECTED] > Jun 9, 2006 at 02:57 PM

Is there a simple way for a Java application to display/log the Windows PID

that has been assigned to it?  I'm running on both Win2K and WinXP.

I have several Java apps, which all run in their own VM.  They are started

in separate DOS command windows via a visual basic script.  If I look in 
Windows Task Manager, I see XX number of "java.exe" processes, but
currently 
find it hard to identify which is which...

I expect this startup procedure will change in the future....however in
the 
short term, is there a way that each application can print/log its PID to 
the console...i.e. perhaps using a System.* or Runtime.* method call? 
(adding to the command window's title bar would be even better)...

Thanks,

F. Maurais
 




 1 Posts in Topic:
How to get access to the Windows PID assigned to a ("java.exe")
"Fran Maurais"   2006-06-09 14:57:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 13:37:08 CDT 2008.