Take the path where the Class file is located
URL URL = INTERNALBOOTLoader.class.getProtectionDomain (). GetCodesource (). GetLocation (); string path = url.getfile ();
If the Class is located in the JAR package, you get the path to the JAR file in Path.