M
Mark_Galeck
Hello,
I have 3 files in a directory:
foo.java
foo.class
foo.html
The .java is an applet file which is compiled to the .class file,
which is then included in the .html file, via the HTML OBJECT
element. Very simple. Everything works, I run the .html file which
shows the applet.
Now, if edit the applet and recompile and run the .html file, the
browser still shows the old version of the .class file. (?)
I am using XP Pro and IE 6. I did clear the browser caches, cookies,
offline content, refreshed everything, made sure the class file is
really recompiled, still the same problem. Searched the whole disk
for a cached copy of foo.class, there is none. In fact, if I edit
the .html file, that is reflected immediately. If I rename everything
in the same directory, the problem persists.
However, if I move everything to a new directory, the
recompiled .class is shown immediately.
So, it appears somehow that Java on my system is caching its
compiled .class files somewhere I don't know about, on a per-directory
basis, and using those, instead of a freshly recompiled local .class
file.
Anybody knows what is going on here??
Thank you,
Mark
I have 3 files in a directory:
foo.java
foo.class
foo.html
The .java is an applet file which is compiled to the .class file,
which is then included in the .html file, via the HTML OBJECT
element. Very simple. Everything works, I run the .html file which
shows the applet.
Now, if edit the applet and recompile and run the .html file, the
browser still shows the old version of the .class file. (?)
I am using XP Pro and IE 6. I did clear the browser caches, cookies,
offline content, refreshed everything, made sure the class file is
really recompiled, still the same problem. Searched the whole disk
for a cached copy of foo.class, there is none. In fact, if I edit
the .html file, that is reflected immediately. If I rename everything
in the same directory, the problem persists.
However, if I move everything to a new directory, the
recompiled .class is shown immediately.
So, it appears somehow that Java on my system is caching its
compiled .class files somewhere I don't know about, on a per-directory
basis, and using those, instead of a freshly recompiled local .class
file.
Anybody knows what is going on here??
Thank you,
Mark