Home » Tutorials » Getting Started With MHP And OCAP » Getting Started With XleTView » Downloading & Installing XleTView

Downloading & Installing XleTView

Prerequisites

Before you can use XleTView you should make sure that you have version 1.4 or later of the J2SE platform. To actually develop applications you will need the full SDK; if all you want to do is run applications then the Java Runtime Environment is enough.

There are no other prerequisites for running XleTView. In particular, you do not need to install the JavaTV reference implementation from Sun Microsystems, or any other digital TV software. While these can be installed on the same machine as XleTVIew, please make sure to keep them separate – any JAR files for other digital TV environments should not be in your classpath when running XleTVIew.

If you do not have an MHP authoring tool, you may also need to download a set of stub classes for MHP that you can use to compile your applications.

Where to get it from

You can download XleTView from the XleTView project page at Sourceforge. Most people should use the latest stable release that is available, which is available as both pre-compiled binaries or as source code.

Alternatively, you can get access to the very latest versions of the code using CVS. This requires a little more work to set it up, because you only get the source code and it may not have been as thoroughly tested as the stable release. This is the only way to get access to all of the latest features, so the tradeoff may be worth it in some cases. Instructions for getting the source code via CVS are available on the Sourceforge web site

Download the latest stable release of XleTView.

Installing it

Installing XleTView is extremely simple. Just uncompress the zip file containing the XleTView binaries into the directory that you want to run it from, and you’re now ready to run XletView. Before we do so, however, let’s take a look at the files and directories that make up XleTView:

<DIR>    config
<DIR>    jars
<DIR>    JMF2.1.1
<DIR>    license
         icon.ico
         readme.txt
         xletview.jar

xletview.jar is the XleTView application itself. This includes all of the MHP API classes that are needed to run your applications within XleTView. The readme.txt file gives some brief instructions an getting started with XleTView, and the icon.ico file is the icon used by XleTView.

The jars directory contains JAR files from other projects that are used by XleTView. These are only used within XleTView, and you should not use these jar files in any applications that you write. The licenses for these jar files, and for XleTView itself, are contained in the license directory. The exception to this is JMF, which is contained in the JMF2.1.1 directory. This in a later version of JMF than the one used by MHP, but it is mostly compatible, and is the only version of JMF that is now available. Earlier versions of JMF are no longer available for download from Sun.

The config directory contains all of the configuration files used by XleTView, both for its own settings and for the settings of any applications that it knows about. We will take a closer look at the files in this directory later in this guide.