skip to main
|
skip to sidebar
JEFFCAPS Java blog
Thursday, October 16, 2008
Which JAR does my class run from?
The following code gets runtime JAR file name:
.class.getProtectionDomain().getCodeSource().getLocation().toString()
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
►
2009
(4)
►
March
(1)
►
February
(2)
►
January
(1)
▼
2008
(17)
►
December
(1)
►
November
(4)
▼
October
(12)
WASUpdater trace
Toolkit recovery tips
PHP, JavaScript, J2EE, MySQL, Ajax, SEO, Wordpres...
Web development links
AJAX in one diagram
My online contract providers
My online contract providers
How to use Java Logger
Change datasource password in a clustered env.
Clean connection pool
Which JAR does my class run from?
The first post
About Me
JeffCaps
View my complete profile
No comments:
Post a Comment