Java(tm) Developers Kit
The JDK comes with two documents. The COPYRIGHT file has copyright and license information about the JDK. The README file has information about the JDK, including:
As a self-extracting archive file, the 1.0 release is just over 3.7 MB. Uncompressed and unpacked it will take up just over 5.6 MB. Documentation is not included in this archive file; it may be found under Java Developers Kit.
The downloading, installing, and configuring process can be broken down into the following steps:
If you experience trouble along the way, check the Troubleshooting section at the end of this document or our general Java/HotJava FAQ.If you prefer, you can download the release via anonymous ftp from one of the following sites:
$ ftp ftp.javasoft.com
Name (ftp.javasoft.com): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password: user@machine
<< informational messages <<
ftp> binary
200 Type set to I.
ftp> cd pub
<< more informational messages <<
250 CWD command successful.
ftp> get JDK-1_0-win32-x86.exe
200 PORT command successful.
150 Opening BINARY mode data connection for JDK-1_0-win32-x86.exe (3720379 bytes).
226 Transfer complete.
local: JDK-1_0-win32-x86.exe remote: JDK-1_0-win32-x86.exe
3720379 bytes received in 1.4e+02 seconds (30 Kbytes/s)
ftp> quit
Before proceeding further, check that you have downloaded the full,
un-corrupted file. As shown just above, the size of the file should
be 3,720,379 bytes.
If you have stored any additional Java source code files (files you have written or files you have received from someone else) in a directory under the main JDK Java directory, you should move those files to a new directory before deleting previous version of the JDK. You can delete the entire Java directory tree using the following command:
deltree /Y C:\java
Unpacking the archive will also create src.zip and lib/classes.zip. DO NOT UNZIP THE CLASSES.ZIP FILE. If you want to review the source for some of the JDK class libraries, you may unzip the src.zip file. However, you must use an unzip program that maintains long file names to unzip src.zip. One such unzip utility program is UnZip 5.12 which can be found at UUNet FTP Site. Look for the file unz512xN.exe or a later version.
If you have set the CLASSPATH environment variable you may need to update it. You must replace CLASSPATH entries that pointed to the java\classes directory to point to java\lib\classes.zip. Again, the easiest way to accomplish this is to edit the AUTOEXEC.BAT file and make the change to the CLASSPATH environment variable there. See the Troubleshooting section below for more information.
After completing these changes to AUTOEXEC.BAT, save the file and reboot, so that the changes take effect.
You can start the Applet Viewer by doing the following:
cd java\demo\TicTacToe
appletviewer example1.html
Please read the Known Bugs page for additional information.
net.socketException: errno = 10047OR
Unsupported version of Windows Socket APIcheck which TCP/IP drivers you have installed. The Applet Viewer only supports the Microsoft TCP/IP drivers included with Windows 95. If you are using third-party drivers (e.g., Trumpet Winsock), you'll need to change over to the native Microsoft TCP/IP drivers if you want to load applets over the network.
If none of these work, try:
java -verbose sun.applet.AppletViewer
This lists the classes that are being loaded. From this output, you
can determine which class the Applet Viewer is trying to load and where it's
trying to load it from. Check to make sure that the class exists and
is not corrupted in some way.
> set CLASSPATH=.;C:\java\lib\classes.zipThis will make sure that you are using the correct classes for the JDK 1.0 release.
Java Developers Kit