Running under JDK 1.0.2 (or equivalent)

If you wish to run the client under JDK 1.0.2 then you must either copy the classes in the HTTPClient/alt/jdk_1.0.2/HTTPClient/ subdirectory to the HTTPClient directory, or place the directory HTTPClient/alt/jdk_1.0.2 before the HTTPClient directory in your CLASSPATH. This subdirectory contains JDK 1.0.2 compatible replacements for the Util, HttpURLConnection, Cookie, and CookieModule classes and for the popup boxes (both sources and class files are provided). All the other classes will run fine as they are under JDK 1.0.2. However, under JDK 1.0.2 the functionality is restricted as follows:

Note also that this version of the HTTPClient won't compile under JDK 1.0.2. There are a few calls to methods which only exist in JDK 1.1 or later. These are protected by try/catch statements so that the code will still run under JDK 1.0.2, but to compile it you'll have to comment these out.

[HTTPClient]


Ronald Tschalär / 18. June 1999 / ronald@innovation.ch.