Chapter 5. Installation

Table of Contents

How do I install the Morphon XMLEditor?

Abstract

The installer software makes installation easy. This chapter also contains the information necessary for specialized installations.

How do I install the Morphon XMLEditor?

Installing the Morphon XMLEditor is simplicity itself. The application runs on any platform with a java virtual machine. The editor has two versions, both included in the download. The first version uses the java 1.2 platform. The second uses the earlier java 1.1 platform. If you have java 1.1 you must also install the latest version of SWING available from the Sun website at www.java.sun.com .

The editor is downloaded as one archive file, available in jar, zip, tar.gz, or tar.bzip2 format. The contents of the archive are extracted to the directory you wish to keep them in. The XMLEditor and CSSEditor are started by running a startup file, either a batch file (.bat) or a shell script (.sh). These must be edited so that they know where the java files are. This simply involves changing one line in the startup file for the java 1.2 version to tell it where java_home is. The startup files for the java 1.1 version need two lines changing. One, the location of java_home, and two, the location of swing_home.

Alternatively, make use of the pregenerated install-binaries. For each platform there is a version with builtin VM and a version without VM. The VM is the Java Virtual Machine that is used for installing the packages and running the XML and CSSEditors. We recommend using the version with the VM as that will install without worries about the JVM. The installer is available for all mainstream desktop operating systems, WIN32, Mac, Linux and other Unices. To install, execute the downloaded binary file, it will present a install-wizard that guides through some questions and install accordingly. For Mac and Windows users, one could place the shortcut at the desktop, linux user are suggested to place the shortcut at a ~/bin directory.