• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help - Downloaded Jar files

 
Sajee Joseph
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a few questions.
When i invoke an html file which contains some jar files,these jar files get downloaded. My question are pertaining to this.
1. Where do these jar files get downloaded in the local system?
2. Will the jar files be downloaded everytime i invoke the appletfile?
3. Can i change the location of the Downloaded jar file in my local system and still invoke the applet without downlaoding the jar again?
...kindest regards
....sajee
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Stored wherever browser stores cache... in windows IE stores cache in C:/< Windows dir >/Temporary Internet Files and Netscape stores them in a subdirectory of the Netscape directory called cache ( I think... ). On Unix systems the browser stores the cache in a folder off the users home directory.

2. Hmmm... I think this depends partially on some settings in the browser. Though I have noticed that some browsers never update a jar or class file unless you delete it from the cache, and some always download it in each new browser session.

3. I'm not sure on this one... You'll have to check it out and see... I suspect that on some browsers it would download it again, and on others it would not...

-Nate
 
Rakesh Ray
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jar file will be downloaded once per bower session.
If you want to cache the jar file you will have to go for java 1.3 plugin. It will work both for IE and Netscape.

If you are ready to deploy the jar file to users PC and do not want to use java 1.3 plugin, do as follows.
1. Create a directory in pc and copy the jar file here.
2. Chage the classpath from autoexec.bat (for win95) to point to that directory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic