Can you tell on runtime if you're running java from within a jar?
- by Dikla
Hi,
I have an application that some of my users run from Eclipse, and others run it by using a jar file.
I want some actions to be done when running from within the jar, but I don't want them to be done when running from Eclipse.
Is there a way to know on runtime whether the current application is running from within a jar?
Thanks!
Dikla