开发者

In java web start where does the jar file get downloaded to?

开发者 https://www.devze.com 2022-12-26 14:26 出处:网络
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 fin

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消