0 Replies Latest reply: Oct 13, 2008 7:57 AM by 843810 RSS

    JavaHelp and Java 5.0 Update 16

    843810
      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!

      Cheers,
      Ian

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