8

As per Java web start where does the jar file get downloaded on a client machine?

ria
  • 7,904
  • 11
  • 39
  • 46

4 Answers4

10

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

ria
  • 7,904
  • 11
  • 39
  • 46
4

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
mohdajami
  • 9,604
  • 3
  • 32
  • 53
  • There is no `Java` folder in my `Caches` folder (running macOS Sierra) –  Sep 26 '16 at 19:56
3

In case of a Linux machine, I have it on :

/home/bakkal/.java/deployment/cache/

where /home/bakkal is just my personal home folder.

bakkal
  • 54,350
  • 12
  • 131
  • 107
0

Keep in mind that the location on windows has changed. It was different in java 6 (compared to java 5).

Thirler
  • 20,239
  • 14
  • 63
  • 92