I have a java desktop application, being an executable jar and I need to know the root directory where the jar is running. I have researched several ways and I have not found what I need, I am always seeing models where I inform an X file so it returns me the location of the same and what I need and get the Root of the Executable Jar.
Thank you.