Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to find HelpBroker




On 26 Sep 2008, at 16:54, Paul Taylor wrote:

Tomas Hurka wrote:
Hi Paul,

On 19 Sep 2008, at 12:25, Paul Taylor wrote:

I have one customer who has a problem with my application because of an issue with Help.

java.lang.NoSuchMethodError: javax.help.HelpSet.createHelpBroker(Ljava/lang/String;)Ljavax/help/ HelpBroker;
at com.jthink.jaikoz.menu.Help.<clinit>(Help.java:48)
It looks to me that the customer has old version of JavaHelp installed somewhere on the classpath.
Method
public HelpBroker createHelpBroker(String presentationName)
is new in JavaHelp 2.0. So the class javax.help.HelpSet is on the classpath, but it does not contain createHelpBroker(String ) method.


Bye,
You might be right I did look into this sometime ago and he did have another copy of the file

./Applications/Freemind/plugins/help/jhall.jar
./Applications/Jaikoz.app/Contents/Resources/Java/jhall.jar


but I couldn't see how that could get on the Jaikoz classpath
Maybe it is also somewhere else. Check /Library/Java/Extensions , / System/Library/Java/Extensions and ~/Library/Java/Extensions
If you run your application with -verbose flag you will see from which jar particular class is loaded.


Bye,
--
Tomas Hurka   <mailto:email@hidden>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Unable to find HelpBroker (From: Paul Taylor <email@hidden>)
 >Re: Unable to find HelpBroker (From: Tomas Hurka <email@hidden>)
 >Re: Unable to find HelpBroker (From: Paul Taylor <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.