Where is the jar files cached for Java Web Start/JNLP applications?
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.
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.
Yep, Java does cache JAR streams!
It depends... on your OS and virtual machine, e.g.:
C:\Documents and Settings\userid\Application Data\Sun\Java\Deployment\cache\javaws\
C:\Users\userid\AppData\LocalLow\Sun\Java\Deployment\cache\6.0
/home/userid/.java/deployment/cache/6.0
~/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).
On Windows Vista or 7, it's in %AppData%\LocalLow\Sun\Java\Deployment\cache
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With