Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

10 Generating JavaHelp or Oracle Help  > 10.2 Setting up a JavaHelp or Oracle Help project > 10.2.5 Establishing a JavaHelp environment


10.2.5 Establishing a JavaHelp environment

To use JavaHelp, you must have both JavaHelp and the Java Runtime Environment (JRE) installed on your system, and you must set some environment variables. If you plan to create .jar files, you will also need jar.exe from the Java Software Development Kit (SDK).

J2SE and JavaHelp

JavaHelp 2.0 requires the Java 2 Platform, Standard Edition (J2SE), version 1.2.2 or a later version. Both Java and JavaHelp are available for download from Sun Microsystems:

[spacer]

J2SE 1.4.2:

http://java.sun.com/j2se/1.4.2/download.html

JavaHelp 2.0:

http://java.sun.com/products/javahelp/download_binary.html

Environment variables

You must create Windows environment variables JAVA_HOME and JHHOME, if they are not already defined on your system; for example, on Windows 2000 or Windows XP:

Control Panel > System > Advanced > Environment Variables

These environment variables are defined as follows:

JAVA_HOME   path\to\J2SE\executables

JHHOME      path\to\JavaHelp\executables

For example:

JAVA_HOME=C:\Java\j2re1.4.2_03\bin

JHHOME=C:\JH\jh20\javahelp\bin

JavaHelp viewer

To check the results after Mif2Go generates JavaHelp files, you can use the JavaHelp viewer included in the JavaHelp installation: hsviewer.jar, located in the demos\bin folder. The JavaHelp System User's Guide shows how to set up a shortcut to the viewer.



10 Generating JavaHelp or Oracle Help  > 10.2 Setting up a JavaHelp or Oracle Help project > 10.2.5 Establishing a JavaHelp environment