The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Thanks, but no cigar.

Posted by Michael Pelz-Sherman on December 28, 2000 at 12:03 PM

> > How do I reference the process ID of a Java app from inside one of its classes?

> > Thanks,
> > - Michael
> hi,
> I think java.lang.Runtime and java.lang.Process class can give u some info regarding this.
> Regards,
> Manish

Thanks, but none of the methods on either of those classes seem to provide the process ID. Also tried System.getProperties().

- Michael






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us