In java web start where does the jar file get downloaded to?
As per Java web start where does the jar file get downloaded on a client machine开发者_如何转开发?
In case of a Windows machine, you could go to the control panel and click on Java Control Panel to find the location of the Java Cache.
In my case it shows: C:\Documents and Settings\user1\Application Data\Sun\Java\Deployment\cache
On Mac
/Users/username/Library/Caches/Java/cache/
Just for fun:
I deployed a small game and found its jar file in
/Users/username/Library/Caches/Java/cache/6.0/42/1d3d9f6a-640bd5ed
The .jar was removed, if you want to run or decompile it, rename it with .jar
UPDATE (OS X El Capitan)
/Users/username/Library/Application Support/Oracle/Java/Deployment/cache
In case of a Linux machine, I have it on :
/home/bakkal/.java/deployment/cache/
where /home/bakkal is just my personal home folder.
Keep in mind that the location on windows has changed. It was different in java 6 (compared to java 5).
精彩评论