Distributing javahelp with an app

Hi
I have an application which uses JavaHelp and this works great on my development workstation. I wanted to distribute my app at this point and wondered if anyone could tell me what i'm missing to get the JavaHelp system working on another machine. I haven't packaged anything separately, it is all within one jar file (helpset.hs, map.jhm, toc.xml etc). When I try to run my app on any other machine so far, i get the error message:
"java.lang.NoClassDefFoundError: javax/help/HelpBroker."
What do I need to package with my app so that the target machine can run my app and the javahelp system? Do I need to package the jh.jar along with it?
Please help.
Thanks!

never mind I solved it.

Similar Messages

  • Best practice when using Tangosol with an app server

    Hi,
    I'm wondering what is the best practice when using Tangosol with an app server (Websphere 6.1 in this case). I've been able to set it up using the resource adapter, tried using distributed transactions and it appears to work as expected - I've also been able to see cache data from another app server instance.
    However, it appears that cache data vanishes after a while. I've not yet been able to put my finger on when, but garbage collection is a possibility I've come to suspect.
    Data in the cache survives the removal of the EJB, but somewhere later down the line it appear to vanish. I'm not aware of any expiry settings for the cache that would explain this (to the best of my understanding the default is "no expiry"), so GC came to mind. Would this be the explanation?
    If that would be the explanation, what would be a better way to keep the cache from being subject to GC - to have a "startup class" in the app server that holds on to the cache object, or would there be other ways? Currently the EJB calls getCacheAdapter, so I guess Bad Things may happen when the EJB is removed...
    Best regards,
    /Per

    Hi Gene,
    I found the configuration file embedded in coherence.jar. Am I supposed to replace it and re-package coherence.jar?
    If I put it elsewhere (in the "classpath") - is there a way I can be sure that it has been found by Coherence (like a message in the standard output stream)? My experience with Websphere is that "classpath" is a rather ...vague concept, we use the J2CA adapter which most probably has a different class loader than the EAR that contains the EJB, and I would rather avoid to do a lot of trial/error corrections to a file just to find that it's not actually been used.
    Anyway, at this stage my tests are still focused on distributed transactions/2PC/commit/rollback/recovery, and we're nowhere near 10,000 objects. As a matter of fact, we haven't had more than 1024 objects in these app servers. In the typical scenario where I've seen objects "fade away", there has been only one or two objects in the test data. And they both disappear...
    Still confused,
    /Per

  • Simple java download bundled with my app -- what link can I use

    I have a java app that I'd like to make as easy as possible for people to install and use who don't know about java or don't want to deal with installing a JRE. I built two different setup files, one bundled with a private jre for the app and one that just has the app.
    If the user downloads the non-jre-bundled version, and they either don't have a jre or they have a version that's not supported by the app, my insatller will detect this and abort the install with instructions to download a jre or download the bundled verison of the app.
    I'd prefer to ask the user's permission to download a private jre automatically in the above scenario. I know how to do this with my installer enviropnment (NSIS), but I can't find a suitable url from Sun that serves this purpose. I need a link that bypasses the licence agreement page and just directly downloads the jre.
    I got a url from a sample NSIS script that seems to provide this, but the most recent file is dated June 2005 and points to JRE 5 Update 1.
    The root url is http://dlc.sun.com/jdk/
    From there you can see several jre/jdk links for 1.4 and 1.5, but no 1.5 jre or jdk with anything beyond update 1.
    Does anyone know of a link I could use to directly download the latest jre 1.5?

    If any such site exists, it is in violation of Sun's
    current Java license.I'm not a lawyer, but the JRE License Agreement seems to be written in English, so I took a look at it. Paragraph B of the Supplemental License Terms (near the end of the license) would seem to apply, and I've pasted it below.
    As I read it, I think you're right that a direct download site is in violation of the agreement. This seems to be the case because item (v) requires anyone distributing Sun's JRE to pass on the license terms. By definition a direct download site doesn't do that.
    Having said that, it seems that the site I pointed out in the original post is a Sun site. Apparently they're willing to violate their own license terms. I just wish they'd update the site, so something beyond Update 1 were available for JRE 5.
    This is the first time I've ever heard this. I've
    seen many people on this forum getting help bundling
    the JRE with their app. Note that the Sun license agreement does not preclude bundling the JRE with you app, so long as you obey the stated restrictions.
    Excerpt of SUN JRE License Agreement
    B. License to Distribute Software. Subject to the
    terms and conditions of this Agreement and restrictions
    and exceptions set forth in the Software README file,
    including, but not limited to the Java Technology
    Restrictions of these Supplemental Terms, Sun grants
    you a non-exclusive, non-transferable, limited license
    without fees to reproduce and distribute the Software,
    provided that (i) you distribute the Software complete
    and unmodified and only bundled as part of, and for the
    sole purpose of running, your Programs, (ii) the
    Programs add significant and primary functionality to
    the Software, (iii) you do not distribute additional
    software intended to replace any component(s) of the
    Software, (iv) you do not remove or alter any
    proprietary legends or notices contained in the
    Software, (v) you only distribute the Software subject
    to a license agreement that protects Sun's interests
    consistent with the terms contained in this Agreement,
    and (vi) you agree to defend and indemnify Sun and its
    licensors from and against any damages, costs,
    liabilities, settlement amounts and/or expenses
    (including attorneys' fees) incurred in connection with
    any claim, lawsuit or action by any third party that
    arises or results from the use or distribution of any
    and all Programs and/or Software.

  • Distributed programming with HTML DB?

    Hi!
    Has anyone done any distributed programming with HTML DB? If so, are there any crucial factors to be taken into account?
    I thought of extracting the original application, importing it into my DB, changing and creating pages, exporting the single pages and re-importing them into the original application.
    I suspect that creating new pages will cause trouble, but what about changing existing ones? Can they be overwritten without any problems?
    Thanks for sharing your experiences!
    Sabine

    Sabine,
    Do you want to make changes to you application only on a development machine then update production?
    If so then you can make a new version of the application and simply import the entire application back into production. My personal preference is to pick a new application id for the updated application when I re-import. That way my current production app is sitting there unchanged. I then point users to the new version and update the proprieties of the old one to stop users running it (with a message to log into the new application) It also allows me to back out easily if there are problems.
    Chris

  • Best way to bundle JavaHelp with application

    What is the best way to bundle JavaHelp with an application....
    At present I have to run the application that uses JavaHelp as follows
    java -classpath ;lib/jhall.jar HelpMenu
    Is there a better way? so that when the application is moved to a client machine the classpath to the javaHelp jhall.jar does not have to be supplied as above?
    Cheers :)

    If you don't want to specify the classpath you can
    1> either create a batch/shell script with lauches the app with the appropriate classpath
    2> You jar your app and specify the classpath in your jars's MANIFEST.MF file like this.
    Main-Class: main class name which will launch the app
    Class-Path: jhall.jar
    The above entries assume jhall.jar is in the same dir as your main jar. You can put more jars in the classpath above by separating them with space.
    With this the app can be just lauched by typing: java -jar filaname.jar

  • How do I distribute Pages with Apple Configurator?

    In my school we have 15 iPads and I want to install Pages, Keynote, Numbers onto them with Apple Configurator. When viewing the ipad apps in the App Store on my iMac, it doesn't show them as free, but it does if I view them on the app store on an iPad. I purchased the free apps on an iPad so it linked them to my account, and I was then able to download it to my iMac. However, when I try and distribute them using Apple Configurator, it's asking for redemption codes. I can install them fine individually on each iPad, but they're around 1GB in total to download, I'd rather only have to do this once and send them to all iPads rather than downloading it 15 times.
    Thanks.

    I came across this problem again the other day when I download an app that was free for a limited time.
    I've started using Apple Configurator purely for iOS updates and installing a profile containing Wi-Fi settings etc. I have been using iTunes to manage apps which is a lot more powerful. After downloading the apps thtrough iTunes onto my Mac, I can then distribute all of the apps to the iPads via USB (the iPad's are stored in a Griffin small cabinet that acts as as USB hub) and I can manage them all at once. It takes a while to transfer, but its quicker than downloading 5+GB on each iPad, and iTunes allows you to manage app folders as well.

  • HT1349 I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???

    I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???

    Welcome to the Apple Community.
    Enter the details of her second account at system preferences> mail, contacts & calendars.

  • Hello i have what i think is a first generation Ipod touch which didn't not come with the app store on it already does this mean I cant get apps for my Ipod touch?

    Hello i have what I think is a first generation Ipod touch which did not come with the App store already downloaded onto it, can I not download apps to my Ipod touch?

    If you have a 1G iPod you can update to as far as 3.1.3.  Yu get hat paid update here:
    Purchasing iOS 3.1 Software Update for iPod touch (1st generation)
    You can identofy your iPod here:
    Identifying iPod models
    What iOS is curently on your iPod (Setting>Genral>About>Version) you need as lest 2.0 for apps but most apps need 3.0 or later.

  • I bought the wrong app, I should exchange Photoshop app with AI app

    I should cancel Photoshop and should buy AI app.

    Thank you a lot...^^
    2015. 3. 19. 오후 10:23에 "Sheena Kaul" <[email protected]>님이 작성:
        today i bought wrong app, i should exchange Photoshop app with AI app
    created by Sheena Kaul <https://forums.adobe.com/people/Sheena+Kaul> in *Creative
    Cloud Download & Install* - View the full discussion
    <https://forums.adobe.com/message/7315839#7315839>

  • Problems with n97 apps connecting to network (Voda...

    Problems with n97 apps connecting to network (Vodafone UK – 3G)
    Recently a number of my apps which used to connect automatically to the internet (which ever was available – known wi-fi or 3g) have stopped doing this.  They now only connect to one known wi-fi.
    I’ve tried uninstalling and reinstalling each app, but this hasn’t solved the problem.  I’ve checked for software updates and do not believe any have been applied or are available.  All apps have been downloaded via Ovi on the phone.  I still am able to access the internet by the web browser which was installed on the phone and via google maps (which also still manages GPS position, search, etc).
    The apps which I notice causing a problem are:
    Sainsbury’s/nectar
    Tesco
    Map my tracks
    Snaptu
    Opera Mini
    Any one got any ideas???

    I have the same problem since i updated my mac to 10.5.6.
    Each time I have to do a diagnostic and retype the WEP password to have the internet connection.

  • Problems with Remote App on iOS 4?

    I have a new iPhone 4 and tried to use the Remote App in Connection with Apple TV. While I'am able to pair the remote app with Apple TV, I cannot use it properly. It works for a while, then it get's disconnected with a message that maybe a Firewall might be activated in the Router.
    I have no problems with Remote App connected to my iTunes Library. I also tried it with a iPod Touch which is still on iOS 3.1.3, no problems to connect to the Apple TV from there as well.
    Are there any known problems with iOS 4 and Apple TV?

    Chenks wrote:
    maybe for you, but isn't for me.
    i have the remote app on my iphone4 and it's connected to 2 appletv's.
    i don't experience any dropping of connection etc.
    May I ask what wifi hardware you use? It might be an wifi issue, but one which is only related with the "Bonjour" protocol which seems to be used for the Remote App. I found this thread which is older (iOS 3) but describing exactly the same problems:
    http://discussions.apple.com/thread.jspa?threadID=2048555&start=0&tstart=0
    bear in mind that the iphone4 is now "n" wifi compatible (2.4Ghz), so could it be that the "n" part of your network is poor and thus why you only see the problem on the iphone4 ?
    At least it is not poor when using it from other devices or moving a lot of data in other Apps. It is all Apple Hardware (nothing older than 2 years), and maybe that's the problem. I never had network hardware which made so much trouble, as Apples Airport series. I wouldn't wonder if it is an incompatibility between a new wifi chip in the iPhone 4 and a older Revision of an Airport device. But I don't know how to check - is there a system.log on the iPhone which I can access somehow?

  • Issue with the App Store showing up blank.

    Issue with the App Store, it will not let me search for new apps.  The screen is blank.  The update section and features section works, but it will not let me search for new apps. I have restarted my phone and no changes. The newest update to the iphones when the iphone 5 came out, i think, messed up this app.  When i am looking at how to fix it, it tells me to delete it and try again, but the App store is not a deletable app.  Any ideas why my App store, specifically the search section of this app doesn't work?

    I suspect it is on Apple's side of things. Mine was blank too, but now it works again. Fixed itself one morning.
    https://discussions.apple.com/message/19659161#19659161

  • When i go to sync my apps with my computer it tells me  ''are you sure you want to sync apps ? all exsisting apps and there data on (iphone) will be replaced with the apps on this itunes library'' does this mean all my data will be lost if i continue ?

    when i go to sync my apps with my computer it tells me  ''are you sure you want to sync apps ? all exsisting apps and there data on (iphone) will be replaced with the apps on this itunes library'' does this mean all my data will be lost if i continue ?

    Regarding your broken, previously authorized computer, here's how that works:
    You would authorize your new computer -- maybe you've done that already.  Then you will have two computers authorized.  Apple allows you to have up to five computers authorized at any time.  If you get to five, you can then go to your account details in iTunes and remove all authorizations.
    Bear in mind this is not saying you can synch to more tham one library.  Razmee209 and gdgmacguy's comments above are correct.  But if Apple only allowed you to authorize one computer at a time, then having a broken computer would mean you could no longer use your Apple ID with iTunes.

  • I have Words with Friends app on iphone and game on computer.  When I try to play with Facebook friends message says" Account Already Connected.  This Facebook account has been connected to another user."  How can I play game on iphone or my pc?

    I have Words with Friends app on my iphone4S and the same game on computer.  When I try to play Words with Friends with Facebook on the iphone the  message says" Account Already Connected.  This Facebook account has been connected to another user."  It is connected to my computer. How can I play game on iphone?

    Hi Grandmaz5,
    If you are having issues connecting to Facebook on your iPad, and you have already troubleshot the Facebook app itself, you may want to check the built-in iOS settings for Facebook; you may find the following article helpful:
    iOS: Using Facebook, Twitter, and other social network accounts
    http://support.apple.com/kb/HT5500
    Regards,
    - Brenden

  • Lightning to VGA Adapter not working with certain apps

    I've recently noticed that I can't watch movies on Netlix any more with my Lightning to VGA Adapter going to an LCD monitor.  It works just fine with other apps just not Netflix.  Apple says it is a Netflix app problem, and Netlix doesn't want to admit it's anything wrong with their app.  Any one else have this problem?  Is there a solution?

    lightning to 30 pin adapter vga
    First match (ignore the ad)

Maybe you are looking for

  • Zen Touch: Is clean up supposed to reset touch pad settin

    Whenever I do a clean-up, it resets the touch pad to "Clicker: On" and "Sensitivity: Medium." Is this normal? Could this be addressed Creative?

  • Problem in printing a java swing form

    Hi, Could anyone help me on how to set the page margings while I print a java swing form since it is taking a lot of space as margins in the top right top and bottom how do i do that. or is it that java can only print in the printable area or is ther

  • EJB-QL how to write "IN" in where clause?

    I have a table containing a few entities which have a status. I would like to know how I can write a query to retrieve all the objects with their status set to specific values that I would provide as a Collection parameter. Something like this: the q

  • Best Practice for Nos of AM in application

    Experts, Its wild question but still just want to know what is the right approach for AM. Should we have 1 AM for the entire application or multiple AMs thnks

  • Identify origin of job with multiple instances running

    Hello, I have this scenario. There is a job (JOBA) that has 2 steps.  The first step executes Home ZProg 'A' which will use data that is unique to this run. It will create some TVARV information related to this run. (job name and number) The second s