In java web start, where is the jar file uploaded?

Like the Java web start where the jar file is uploaded to the client machine?

+7
java java-web-start jnlp
source share
5 answers

For a Windows machine, you can go to the control panel and click "Java Control Panel" to find the location of the Java cache.
In my case, this shows: C: \ Documents and Settings \ user1 \ Application Data \ Sun \ Java \ Deployment \ cache

+9
source share

In the case of a Linux machine, I have:

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

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

+3
source share

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 

.jar has been 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 
+3
source share

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

+1
source share

If you have a very good mind (TM), you basically do not need to worry about this, as this will work with Java Web Start.

If this is to determine the flag from your own code, you can ask the class loader where it got the byte code from. Given that the security manager allows!

+1
source share

All Articles