I've got an applet that opens a socket to a small server running on an embedded controller to download some data. Recently, it started taking forever (>30 seconds) to open the socket, but but once its open, the download is fine.
The problem seems to have cropped up around the time that JRE 1.5.0_02 came out. I'd like to do some testing with older versions to see if this is really true.
The environment here is Microsoft Internet Explorer running under XP Pro.
It appears that the version of JRE loaded by the browser will depend upon a registry setting, and while I've found several likely candidates in HKEY_CLASSES_ROOT|LOCAL_MACHINE_SOFTWARE|JavaSoft, none of them seem to make a difference. I restarted the browser after each attempt, but did not reboot the machine. I also experimented with CLASSPATH, but that seemed to be ignored as well.
Again, the goal is to be able to switch between JREs involked by the browser for an applet.
Can anyone offer some help on how to do this.
Thanks, - LR
PS - I know the delay in the applet is occuring when the socket is opened because I surrounded the Socket() call with two System.err.println() calls, and can see it hanging there. The first println happens, there's a long pause, and then I see the second one simultaneously with my server showing that the data is being served.