Ticket #291 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Users will need to clear JRE Cache to load New SpeechSubmission Applet

Reported by: kmaclean Owned by: kmaclean
Priority: major Milestone: SpeechSubmission 0.1.1
Component: SpeechSubmission Version: SpeechSubmission 0.1
Keywords: Cc:

Description (last modified by kmaclean) (diff)

Add FAQ entry to tell users how to clear JRE Cache to load New SpeechSubmission Applet:

Windows

Windows - Clearing the Java Runtime Environment (JRE) Cache

Clearing the Java Plug-in cache ensures that the browser loads the latest versions of Java applications and applets.

Linux

  1. Java Plugin Control Panel
  1. in Java console: type "x" to clear the classloader cache ... not sure if you have to delete the ".java" directory in your user directory too

Change History

comment:2 Changed 12 years ago by kmaclean

From this post How to clear cache to reload applet?

Something like this might work:

<applet code="ATest.class" archive="ATest.class?v=200406181300"></applet>

I tested it in Firefox 0.9 and it loaded and ran the class. The idea here
is that when you change the class, you change the [v]ersion in the ARCHIVE
attribute. That should force the browser to get a new copy of the class
file, since the "archive" is now at a different URI, and since the
"archive" is the .class file, it might work (unless the user agent
disregards ARCHIVEs that are classes, which is entirely possible).

comment:3 Changed 12 years ago by kmaclean

  • Description modified (diff)

comment:4 Changed 12 years ago by kmaclean

Applet Caching - Java 1.5

comment:5 Changed 12 years ago by kmaclean

  • Description modified (diff)

comment:6 Changed 12 years ago by kmaclean

  • Description modified (diff)

comment:7 Changed 12 years ago by kmaclean

  • Milestone changed from SpeechSubmission 0.1.3 to SpeechSubmission 0.1.2

comment:8 Changed 12 years ago by kmaclean

  • Status changed from new to closed
  • Resolution set to fixed

this was a problem that occurred when I copied an older version of the speechsubmission.jar file in for testing purposes ... the browser would not update to the older browser, because the one it had in its cache was newer. Just need to run the java signing app on the old jara (again ...) to fix this problem.

Note: See TracTickets for help on using tickets.