It's not a secret anymore!
The moose likes Other JSE/JEE APIs and the fly likes JavaHelp: could not create HelpSet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JavaHelp: could not create HelpSet" Watch "JavaHelp: could not create HelpSet" New topic

JavaHelp: could not create HelpSet

Mark Herschberg

Joined: Dec 04, 2000
Posts: 6037
I am having a problem with JavaHelp. I copied the holiday example and modified the files approporiately (including removing the second TOC, changing the map, index, and TOC files). However, as I try to run the hsviewer, which works on the included demos, I get the following exception on my jar file.

Looking at the source code for the JHLauncher class I see

(complete code listing can be found here)

I was able to get past the exception casuing the JPiontPnae, but clearly I am hitting the HelpSetException. Since the url isn't null, the cl must be. It's state depends on the on12 variable which has to do with

But since Java is the same whether I'm running their demo or my own, I'm unclear why this is an issue.

Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

We gave up on JavaHelp a while back, and use Oracle's Java Help thingy; it rocks, and transitioning from one to the other took only an hour or two.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: JavaHelp: could not create HelpSet
jQuery in Action, 3rd edition