∟Archived: Downloading and installing Java SE 1.6 Update 2

This section describes a tutorial example on how to install Java SE (JDK) 1.6 Update 2.

To use Xerces2 Java Parser, you need to have a copy of JDK (Java Development Kit) installed on your machine. The current version in 2008 of JDK was JDK 6u2 (Java(TM) SE Development Kit 6 Update 2), which is also called Java SE 6 (Java Standard Edition 6). Here is what I did to download and install JDK 6u2 on my local machine.

To test the installation, open a command window to try the java command. If you are getting the following output, your installation was ok:

herong> \progra~1\java\jdk1.6.0_02\bin\java -version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode,
sharing)

Table of Contents

 About This Book

 Introduction to XML Schema

 XML Editor and Schema Processor - XMLPad

 Java API for XML Processing - JAXP

 JAXP - XML Schema (XSD) Validation

 Xerces2 Java Parser - Java API of XML Parsers

 Using Xerces2 Java APIs

 XML Schema Language - Basics

 Introduction of XSD Built-in Datatypes

 "string" and Its Derived Datatypes

 "decimal" and Its Derived Datatypes

 "dateTime" and Its Related Datatypes

 Miscellaneous Built-in Datatypes

 Facets, Constraining Facets and Restriction Datatypes

 "simpleType" - Defining Your Own Simple Datatypes

 Complex Element Declaration

 Identity-Constraints: unique, key and keyref

 Assertion as Custom Validation Rules

 XML Schema Location and Namespace in XML Documents

 Overriding Element Types in XML Documents

 Linking Multiple Schema Documents Together

 Glossary

►Archived Tutorials

 Archived: Xerces2 Java 2.11.0 XML Schema 1.1 Beta

 Archived: Running XMLReaderValidator with Xerces2 2.11.0 Beta

►Archived: Downloading and installing Java SE 1.6 Update 2

 References

 Full Version in PDF/EPUB