This discussion is archived
2 Replies Latest reply: Dec 3, 2009 1:32 AM by Jörg RSS

problems with locating HelpSet file in jar

843810 Newbie
Currently Being Moderated
I have included my helpset files and other help files (html help files) in a jar at a directory inside the classpath. Now when I run my program, it is unable to locate HelpSet file. I used the following to find the HelpSet file in my
       HelpSet hs = null;
       ClassLoader cl = this.getClass().getClassLoader();
       try {
         URL hsURL = HelpSet.findHelpSet(cl, helpsetfile);
         hs = new HelpSet(null, hsURL);
       } catch(Exception ee) {
For some reason, the helpset file (which is already included in jar) cannot be located. I think I don't know enough as to how the file is located by "HelpSet.findHelpSet(cl, helpsetfile)". What am I missing here.