0 Replies Latest reply on Oct 13, 2008 12:57 PM by 843810

    JavaHelp and Java 5.0 Update 16

      Hi all,

      I am having trouble with launching JavaHelp under Java 5.0 update 16. In all previous versions of java this seemed to work fine.

      Here is a rough snippet of the code
      String helpHS = "help.hs";
                  ClassLoader classLoader = this.getClass().getClassLoader();
                  HelpSet helpSet;
                  try {
                      URL urlToHelp = HelpSet.findHelpSet(classLoader, helpHS); // this comes back as null in update 16
                      helpSet = new HelpSet(null, urlToHelp);
                      HelpBroker helpBroker = helpSet.createHelpBroker();
                      new CSH.DisplayHelpFromSource(helpBroker).actionPerformed(e);
                  } catch (Exception ex) {            }
      I think this is related to the following bug [http://bugs.sun.com/view_bug.do?bug_id=6746185|http://bugs.sun.com/view_bug.do?bug_id=6746185]

      So if you know an easy work around for JavaHelp it would be great to know!


      Edited by: ianMc on Oct 13, 2008 5:55 AM