Sorry for being vague. I am porting an application written in Delphi to Java. In it there is a call to GetModuleFileName. This gets the name of the current .exe. So I guess I need the name of the starting class (i.e. the one with the main method) and its location on disk.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.