Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java equivalent of C argv[0] ?

843798Feb 9 2005 — edited Feb 10 2005
Hi,

I'm looking for a way to obtain the full path of the java.exe executing the current Java program, like in C, where argv[0] give the program file name.

Thanks for any help !
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 10 2005
Added on Feb 9 2005
4 comments
413 views