Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the jar files cached for Java Web Start/JNLP applications?

Tags:

Where is the jar files cached for Java Web Start/JNLP applications?

like image 459
Carl Hörberg Avatar asked Oct 04 '09 20:10

Carl Hörberg


People also ask

Where is the jar file saved?

Essentially, the . jar file is the bundled classes directory. You can test if the value returned is a directory or not, and strip the file name if it is.

Where is the JNLP file located?

Click on Start and select Control Panel from the Settings menu (or click Start and select Control Panel). In the control panel, click Folder Options . In the Folder Options window, click the File Types tab. Locate JNLP under the list of registered file types.

Does Java cache jar files?

Yep, Java does cache JAR streams!


2 Answers

It depends... on your OS and virtual machine, e.g.:

  • with a Sun JDK 1.5 and Windows XP: C:\Documents and Settings\userid\Application Data\Sun\Java\Deployment\cache\javaws\
  • with a Sun JDK 1.6 and Vista: C:\Users\userid\AppData\LocalLow\Sun\Java\Deployment\cache\6.0
  • with a Sun JDK 1.6 and GNU/Linux: /home/userid/.java/deployment/cache/6.0
  • with a Sun JDK 1.6 and Mac OS X: ~/Library/Caches/Java/cache/6.0/

With a Sun JDK 6, this can be configured through the Java Control Panel (Temporary Internet Files Settings in the General tab).

like image 184
Pascal Thivent Avatar answered Sep 24 '22 18:09

Pascal Thivent


On Windows Vista or 7, it's in %AppData%\LocalLow\Sun\Java\Deployment\cache.

like image 32
JRL Avatar answered Sep 20 '22 18:09

JRL