assuming the jar is in the classpath of the application then you can get a URL of a resource inside the jar using the getResource() method. You don't actually need to know where the jar is located.
http://helpdesk.objects.com.au/java/how-to-get-url-to-a-resource-in-same-directory-as-a-class