tag:blogger.com,1999:blog-11200164.post6076460868105737645..comments2023-09-19T05:02:58.359-04:00Comments on Nirav's Contemplations: How to find which jar file contains your class at 'runtime'Nirav Thakerhttp://www.blogger.com/profile/07204297663478577248noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-11200164.post-10373784905644951572011-08-16T11:22:02.402-04:002011-08-16T11:22:02.402-04:00quite a nice utility. very useful while debugging ...quite a nice utility. very useful while debugging <a href="http://javarevisited.blogspot.com/2011/01/how-classpath-work-in-java.html" rel="nofollow">classpath related issue in Java</a> .<br /><br />Thanks<br />JavinJP @ wait and notify in javahttp://javarevisited.blogspot.com/2011/05/wait-notify-and-notifyall-in-java.htmlnoreply@blogger.comtag:blogger.com,1999:blog-11200164.post-43839916431581842422008-03-05T09:07:00.000-05:002008-03-05T09:07:00.000-05:00@AsolntsevWow, I introspected protection domain be...@Asolntsev<BR/>Wow, I introspected protection domain before writing this piece but never knew about getCodeSource() method. Thanks!<BR/><BR/>@Ketan,<BR/>That's interesting. Not sure if it would handle inner classes well (A$B)...Nirav Thakerhttps://www.blogger.com/profile/07204297663478577248noreply@blogger.comtag:blogger.com,1999:blog-11200164.post-80948079226949007692008-03-05T03:47:00.000-05:002008-03-05T03:47:00.000-05:00Hi Nirav,I know a simplier way.There is a term cal...Hi Nirav,<BR/>I know a simplier way.<BR/><BR/>There is a term called "Code source" for what are you looking for.<BR/><BR/>Look:<BR/><BR/>http://asolntsev.blogspot.com/2008/03/how-to-find-which-jar-file-contains.htmlasolntsevhttps://www.blogger.com/profile/16632087166612261207noreply@blogger.comtag:blogger.com,1999:blog-11200164.post-49800954199069065202008-03-05T01:03:00.000-05:002008-03-05T01:03:00.000-05:00That's an interesting piece of snippet.I use a she...That's an interesting piece of snippet.<BR/><BR/>I use a <A HREF="http://ketan.padegaonkar.name/2007/07/26/finding-a-class-in-a-ton-of-jars.html" REL="nofollow">shell script</A> that essentially grepped through the list of all stuff in a jar.KetanPadegaonkarhttps://www.blogger.com/profile/00708547712729097047noreply@blogger.com