How to get cached jar file name in web start...
So before I moved this app to web start I performed the following:
Once moved to web start this returns the location via http where the source for the jar file was downloaded. I have tried File blah = new File("."); which will only give me the path, I still need the name. Anybody have any input? The reason for this is the app determined if it is being run on Vista, if so it sets up vista to run the app as admin and restarts itself so it has the correct priveleges/permissions etc.
File jarFile = new File(WinUtils.class.getProtectionDomain().