Last active
December 15, 2015 19:39
-
-
Save mvitaly/5313099 to your computer and use it in GitHub Desktop.
Get location of a .class file in java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clazz.getProtectionDomain().getCodeSource().getLocation(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment