[To obtain the latest versions of the documents in this section, see the document home sites index.]

Java and JavaScript

Development tools · Tutorials and FAQs · Software resources · External resources

Java is a language developed at Sun for embedding software resources inside web pages. Many web browsers now support Java (although 16-bit browsers like the one on this CD don't, so if you want to see Java in action, you'll need to install a 32-bit browser first).

Java programs compile into Jcode, the machine code for the Java Virtual Machine. Using a virtual machine allows Jcode to be loaded across the Internet for execution on a remote machine without depending on the internal architecture of the remote machine in any way. The virtual machine is normally implemented in software by Java-aware web browsers, but Sun are also producing hardware Java processors. Java is an object-oriented language with strong similarities to C++, but it is also said that Java features map better to Ada 95 than they do to C++.

JavaScript is similar in appearance to Java, but it is in fact a (less powerful) scripting language which can be used directly in HTML documents. It is interpreted directly by Web browsers such as Netscape. JavaScript lets you create dynamic HTML pages which carry out some active processing, rather than just static documents, without the need for any special development tools.


Development tools:

The Java development kit version 1.0.2 for Windows 95/NT. Later versions are available from the Javasoft site, but as from version 1.1 they are no longer redistributable to third parties.
Note: when you install this package, it creates a subdirectory called "java" in whatever directory you choose to install it in, so if (for example) you select C:\ as your installation directory, it will actually end up in C:\java
JavaDraw, a Java development environment for Windows 95/NT
Java Station, another Java development environment for Windows 95/NT
Javelin, yet another Java development environment for Windows 95/NT


Tutorials and FAQs:

Shlurrrpp... Java, a Java tutorial
An Introduction to Programming using Java, from Hobart and William Smith College. If you want to be able to see the examples in this tutorial running, you'll need to install a Java-aware web browser first.
The Java Programmer's FAQ from the newsgroup comp.lang.java.programmer
The Object-Oriented FAQ
An online JavaScript (not Java!) tutorial.


Software resources:

Some Java class libraries which also include source code


External resources:

Sun's Javasoft website, which provides the latest development kits, reference manuals and online tutorial material. This site is also mirrored at Imperial College
Gamelan, the major site apart from Sun for Java-related resources
The Java section of the World-Wide Web Virtual Library
Another, but non-redistributable, Java FAQ (also mirrored at Imperial College)
Netscape's JavaScript documentation
Andrew Wooldridge's JavaScript index
A slightly outdated but still useful JavaScript FAQ
Java links at Yahoo (or at Yahoo UK)
JavaScript links at Yahoo (or at Yahoo UK)
Cetus Object-Orientation Links
The OO SoapBox
The newsgroup comp.lang.java
The newsgroup comp.lang.javascript