As promised, I wanted to post what my successful installation
looked like so that others might benefit. Unlike Jim suggested, I
did not have to uninstall RoboHelp, and I don't think that's
necessary. It is, as he suggested, just more important to get the
Java install right and have the path and env. variables set
properly.
1) RoboHelp
Version: RoboHelp 5.0.2, Build 801. I have this installed in
the default location:
C:\Program Files\RoboHelp Office
2) Java SDK
The 1.6 SDK didn't seem to work. So I stripped off all the
Java installs from my machine (both SDK and JRE) and started from
scratch with the 1.5 release.
I downloaded the SDK from this URL:
http://java.sun.com/javase/downloads/index_jdk5.jsp
Choose the "JDK 5.0 Update 11 with NetBeans IDE 5.5" option.
This installs the SDK, the JRE, and NetBeans (the IDE for
Java). You probably won't use this as a tech writer, but it's there
as part of the install, and won't hurt anything.
One thing I did when installing the SDK and JavaBeans was to
select a path that had no spaces in it (i.e., not in "Program
Files"). Installs like this sometimes automatically update your
path, but don't always manage spaces properly, so this was just to
be safe. I used the default location for the JRE (runtime
environment).
Here's a cut and paste from my install dialog:
J2SE Development Kit 5.0 Update 11 installation location:
C:\Java\jdk1.5.0_11
J2SE Runtime Environment 5.0 Update 11 installation location:
C:\Program Files\Java\jre1.5.0_11
NetBeans IDE 5.5 installation location:
C:\Java\netbeans-5.5
3) JavaHelp
You also have to have JavaHelp installed on your machine.
JavaHelp 2.0 is kind of the baseline now, apparently (the previous
release 1.1.3, was pretty limited). I downloaded JH2.0 from this
link:
http://java.sun.com/products/javahelp/index.jsp
I put it at the same level as the Java SDK install:
C:\Java\jh2.0
4) Environment Variables
As Jim pointed out, you need to set the Environmental
Variable "JHHOME". The value of that path should be the root
directory for your JH install, so:
- Right click on My Computer > Properties.
- Choose Advanced > Environment Variables > System
Variables
- Check the value for JHHOME and make sure it matches the
install dir. for JH (in my case, C:\Java\jh2.0)
5) Path
The path variable tells the OS where to look for executables
it can run. Edit that as Jim pointed out.
Just for future reference. This was a bit painful, but mostly
because I wasn't familiar with Java, but also the doc on the RH
side was a bit deficient in guiding me toward a successful install.
Hope this helps, and Peter, feel free to snip and paste any
of this that you want for your site. ;)
-Greg