I have a JAR file which may be called manually or by Java Web Start / a JNLP file. Is there a possibility to check in the main method, how the JAR has been called?
I can think of two ways. The app. was launched directly via. Jar. if:
main()
. It will be null
.