JavaHelp and JavaWebStart

I am developing a JavaWebStart application. I would like to use Javahelp with it.
Is this possible?
Has anyone done this?
Would each user have to install JavaHelp on their workstation?
I know I can download the JavaHelp jar files via jnlp, but how would I set the JHHOME variable?
Thanks,
Jim

I didn't try the demo apps, I went and added JavaHelp to my application. This part was the same as the demo apps. I then added the following to my .jnlp file under resources:
<extension name="JHelp" href="jnlp/jhelp.jnlp"/>
I then created the jhelp.jnlp file as follows:
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://localhost/ccs" href="jnlp/jhelp.jnlp">
     <information>
          <title>JavaHelp</title>
          <vendor>Sun Microsystems, Inc.</vendor>
     </information>
     <resources>
          <jar href="lib/jh.jar"/>
     </resources>
     <component-desc/>
</jnlp>
That was all that's to it.

Similar Messages

  • JavaHelp and OracleHelp don't appear in SSL folder

    Hi,
    I presume that along with the other output files such as HTML
    Help, WebHelp, etc. JavaHelp and OracleHelp should also appear in
    the SSL folder of the Project pane. But these two deliverables
    don't appear in my version of RH. I use RH X5.0.2.
    Is this something related to buyer-specific need. Suppose we
    would have asked for RH without JavaHelp and OracleHelp. I am not
    sure. I asked the guys out here but even they are not sure.
    Pls suggest...

    Two things I can suggest if you're building JavaHelp,
    specifically JavaHelp 2.0:
    1. Make sure you have a JRE installed on your hard drive
    (we're using 1.4.2_04) Since you've already installed RH, you
    unfortunately need to reinstall it, then point it to the right
    folder.
    2. I strongly recommend suggesting to your development team
    that they NOT use the JEditor Pane method of calling JavaHelp from
    the Java application. Our development team is current using this
    older (buggy) method and because of it, some of the limitations in
    JH that Sun apparently fixed (such as not being able to link to an
    external URL or email) are still present.
    Let me know if you need any help with the JavaHelp stuff. I
    created a whole procedure on setting it up correctly so that our
    support staff can get it right every time they install RoboHelp for
    us.
    Jim

  • Robohelp 8 JavaHelp and Oracle Help

    It is said that JavaHelp Help and Oracle Help can be the output format of RoboHelp project in the help of RoboHelp. But I can not find a way to generate JavaHelp or Oracle Help. Could you tell me does RoboHelp 8 support it?
    Generate and publish output from the command prompt. I use the command as below:
      "e:\test_RoboHelp\robotest\robotest.xpj -l WebHelp -o E:\test_RoboHelp\a"
    "e:\test_RoboHelp\robotest\robotest.xpj" is a project which does exist. But Why the output folder is not "E:\test_RoboHelp\a" as I have set?
    by the way, Does RoboHelp have a plan to support HTML Help 2.x?

    Hi there
    Indeed RoboHelp *CAN* produce JavaHelp and Oracle Help as advertised. However, it isn't configured out of the box to do this. I consider it to be similar to advertising that a pickup truck (errr, sorry Peter, Craig and Colum - I mean LORRY) is able to tow a Boat or a Camper to a lake. Sure, you can tow these items, but there are a few requirements!
    You must have a Boat or Camper to tow
    You need to install the optional towing package
    In order to produce these help output types you will need to separately install the Java Development Kit. Fellow Adobe Community Expert Peter Grainge has some information on his site at the link below.
    Click here to visit Peter's site
    That covers JavaHelp. I'm unsure about Oracle Help, but would expect it to be similar.
    Are we to assume the code referring to E:\test... is your own code?
    If so, I see an issue with it. E:\ likely refers to a network location. In my many years of supporting RoboHelp via the forums I can't begin to tell you how many folks have arrived reporting issue after issue after issue that was caused by working on projects while they are stored on network locations.
    HTML Help 2 never took off for public use. Mostly Microsoft used it internally. As there is no real generic public outcry for it, I'd be shocked if RoboHelp were to suddenly begin offering it. If you would like to cast your vote for it to be added as an output option, visit the Wish Form.
    Hopefully this helps... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Installing JavaHelp and SDK

    I installed JavaHelp and the Java 2 SDK Enterprise Edition. I have rebooted my PC. Everytime I try to run JavaHelp I get a message that I must install the lastest version of the Java 2 SDK.
    Anyone have any ideas on what I did wrong?

    You should install Java 2 SDK Standard Edition. Even Enterprise Edition need it!

  • JavaHelp and JavaSearch problem

    Hello,
    I am using the JavaHelp api and it works fine for everything even when I use the search part, if I launch JavaHelp and JavaSearch in command line with jsearch. The problem is when I use it from my swing application. I get this error :
    Exception while creating engine named com.sun.java.help.search.DefaultSearchEngine for view: javax.help.SearchView@186f247
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:506)
         at javax.help.search.MergingSearchEngine.makeEngine(MergingSearchEngine.java:169)
         at javax.help.search.MergingSearchEngine.<init>(MergingSearchEngine.java:63)
         at javax.help.JHelpSearchNavigator.getSearchEngine(JHelpSearchNavigator.java:102)
         at javax.help.plaf.basic.BasicSearchNavigatorUI$SearchActionListener.actionPerformed(BasicSearchNavigatorUI.java:109)
         at javax.swing.JTextField.fireActionPerformed(JTextField.java:487)
         at javax.swing.JTextField.postActionEvent(JTextField.java:675)
         at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:790)
         at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1633)
         at javax.swing.JComponent.processKeyBinding(JComponent.java:2864)
         at javax.swing.JComponent.processKeyBindings(JComponent.java:2899)
         at javax.swing.JComponent.processKeyEvent(JComponent.java:2827)
         at java.awt.Component.processEvent(Component.java:5734)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:4365)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:4195)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1828)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:693)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:952)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:824)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:657)
         at java.awt.Component.dispatchEventImpl(Component.java:4237)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Window.dispatchEventImpl(Window.java:2300)
         at java.awt.Component.dispatchEvent(Component.java:4195)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: java.security.InvalidParameterException
         at com.sun.java.help.search.DefaultSearchEngine.<init>(DefaultSearchEngine.java:75)
         ... 36 more
    I already read the similar messages from this forum but those do not fiw my problem.
    Here is the code I use to open my help in my application :
    try {
                   String dirHelp = MyAppProperties.getInstance().getProperty(
                             PropertiesConstants.HELP_FILES_PATH);
                   URL url = new URL((new File(".")).toURL(),dirHelp);
                   System.out.println("URL "+url);
                  hs = new HelpSet(null, url);
                  hb = hs.createHelpBroker();
              } catch (Exception ee) {
                  System.out.println ("HelpSet "+
                      "Qrtpcr.hs" + " not found");
              }My helpset file is found and I can get my help files from my application but I cannot perform a search. The URL is a network URL, the full path \\networkPlace\MyHelpset.hs
    Thanks in advance for your help

    I haven't been able to get image bullets to work in JavaHelp with css .
    " I believe it's because the "url" attribute is not part of the HTML 3.2
    specification. I hope I'm wrong, I'd like to be able to use bullets"

  • JavaHelp and JBuilder

    I downloaded JavaHelp and installed locally. I can run examples using
    JRE/JavaHelp, however if I try to run the .java classes in a project in
    JBuilder I have errors:
    import javax.help.*; --> JBuilder does not find this library.
    Any help will be greatly appreciated.
    Haleh

    Hi,
    you need to set the location of jh.ar, jhbasic.jar or jhall.jar in the project properties within JBuilder (Menu Project -> Project Properties -> Required Libraries)
    Ulrich

  • Creating JavaHelp and wanting HTML not HTM for file names

    I am using RoboHelp 7 to generate JAvaHelp. But the generated JavaHelp files are in .htm. I want the help files to have the extension .html. How do i change this in RoboHelp? Can anyone help?

    Hi there and welcome to our community
    First, we would appreciate it if you would take a few moments and familiarize yourself with the link below. It's intended to help you get the best forum experience.
    Click here to read
    As for the issue of htm VS html, this is something you will need to manually change by editing the properties of each topic. Sorry. The thing is, there simply is no technical reason that a page requires to be named html. The only cases we have seen where it makes a difference are when a developer is simply being hard headed about it or when something has uniquely been set up at a company where the html file extension is actually required to make things work.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • JavaHelp and Synth L&F

    I am in the processes of creating a Synth L&F for one of my applications, but parts of the JavaHelp display do not respond to the Synth settings. I have setup icons for use with the JTree which work in a JTree in my app, but do not work in the JavaHelp TOC tree (I am assuming it is a JTree). I am able to change the background color of the JEditorPane in JavaHelp, so I know JavaHelp is responding to some of my Synth setting. Is this a bug? Is the TOC tree not a true JTree? Do I need to setup a different "region" or "name" in the Synth bind line in the Synth XML file? Thanks for any help on this. If I cannot get JavaHelp to work with Synth, then it will essentially be useless to use it for my application.

    Also, I have been able to change the length of the left and right tree indents using the following lines in the Synth XML file, so I know it is partially working:
                   <property key="Tree.leftChildIndent" type="integer" value="12" />
                   <property key="Tree.rightChildIndent" type="integer" value="24" />
    I have also tried using default icons (code I found in an Internet article on Synth and JTrees) and my own icons to no avail.

  • JavaHelp and JSF VWP

    Hi,
    My first time trying to use JavaHelp. I am developing a VWP using JSF and got the following error -
    JSF1015: Request path '/faces/com_sun_webui_jsf/help/navigator.jsp' begins with one or more occurrences of the FacesServlet prefix path mapping '/faces'.
    ApplicationDispatcher[VWPTutorial] Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /com_sun_webui_jsf/help/navigator.jsp(43,40) File "/jhlib.tld" not found
    Anyone familiar with this error?
    Don

    Hi Raymond,
    Thanks for the reply. The issue we are having currently is rendering nested jsf components and in particular the centering of them on a browser page. I have a grid panel containing 3 columns containing two spacer text labels separated by another grid panel which contains the page content.
    When previewed the page looks good when the app is run the spacer text labels are not rendered....
    Any ideas welcome
    Thanks
    Jim

  • Security Exception with JavaHelp and Webstart

    I have seen several posts on here concerning JavaHelp with Webstart, but no one seems to be getting the same error that I have. Everything works fine if I run the application and launch help outside of Webstart.
    When I download the app using webstart, my helpset seems to get loaded properly, but I get the following error when trying to launch JavaHelp from within the application:
    Parsing failed for null
    Exception caught while parsing nulljava.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
    java.lang.NullPointerException
    I'm not quite sure why it's trying to access the property user.home, but it doesn't seem that others that have post get this error.
    Does anyone have any suggestions?
    Thanks.

    Ok... this appears to be an issue with the new JavaHelp 2.0 because it works perfectly fine in version 1.3
    It appears that version 2.0 has a "favorites" section that, I'm guessing here, stores the users favorites locally. That would be why the user.home property gets accessed and the security policy is violated with Webstart.
    I can't say that this is a bug... maybe I can disable the "favorites" feature... either that or I need to stick with JavaHelp 1.3
    Thanks.

  • JavaHelp and FrameMaker files

    Hello!
    I have been given an assignment to develop a 'Help' system for our application. I am working with our Technical Writer on this. She uses FrameMaker 7.0 and it has the capability to save a file to a .xml format.
    The idea is for me to process that file in Java and be able to display it in the application as it looks in FrameMaker. Can this be done through the JavaHelp API?
    I tried looking at the SAXP and DOM and JDOM APIs too to process the FrameMaker .xml files but since I discovered JavaHelp I think it should be the right tool to use.
    I need not be an expert in xml too because I still have the Java side to learn.
    Does anyone have any experience or ideas on this?

    Take a look at AurigaDoc , http://aurigadoc.sourceforge.net/
    If your source document is xml and if can make the xml structure similar to AurigaDoc than
    you can convert your source document to a lot of formats like html, dhtml, pdf, postscript, rtf,
    Java help, HTMl Help(.chm), etc using AurigaDoc.
    Even if your source document is different that what is reqd for AurigaDoc you can write custom
    xsls for your document and invoke AurigaDoc with your custom xsls. This way you can convert to various o/p formats without having to know the Xerces, xalan, FOP apis

  • Javahelp and indexer

    Hi java coders,
    I'm trying to apply search system to my application that uses JavaHelp. My probleme is that I don't know how to use indexer. Can someone help me ?? plz ! (some lines of code ?)
    MSasha.

    Hi,
    you can try this
      import com.sun.java.help.search.*;
      public void createSearchDb(String[] args) {
          Indexer ixr = new Indexer();
          ixr.main(getIndexerArguments(args);
      }args is an array of Strings having the arguments usually typed when calling jhindexer through the command line (see jhug.pdf in the JavaHelp package). Every argument must be in its own string, i.e. "-db" is one String and "C:\myDirectory\JavaHelpSearch" is the next String, and so on
    Ulrich

  • JavaHelp with JavaWebStart: grey frame

    Hello all,
    I have my help in HTML pages on a Web server. The client is using JavaHelp to display these HTML pages.
    It works fine, if I run my client through an IDE (like JBuilder). However, it does not work, if I run using JavaWebStart. I get a grey window frame (no TOC, no HTML pages displayed).
    The code I am using to get an instance to JavaHelp is the following:
    URL hsURL = new URL("http://myserver/myHelpSet.hs");
    _hs = new HelpSet(null, hsURL);
    hb = mhs.createHelpBroker();
    Then later,
    jMenuHelp.addActionListener(new CSH.DisplayHelpFromSource(_hb));
    This seems to work fine. I do not get any exception. The helpset seems to be correctly located.
    Any idea would be very welcome. Thank you. Marc.

    I am using webstart as well, but I am delivering my help files in a jar file that gets downloaded to the client. The helpset file seems to be getting loaded fine, but I am getting a security error when trying to launch help from the application. This all works outside of Webstart delivery. Here is the error message:
    "Parsing failed for null
    Exception caught while parsing nulljava.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
    java.lang.NullPointerException
         at javax.help.plaf.basic.BasicFavoritesNavigatorUI.reloadData(BasicFavoritesNavigatorUI.java:290)
         at javax.help.plaf.basic.BasicFavoritesNavigatorUI.installUI(BasicFavoritesNavigatorUI.java:228)
         at javax.swing.JComponent.setUI(Unknown Source)
         at ..."
    Obviously a security issue, but since all of the help files are in a jar file, shouldn't this be legal? Maybe JavaHelp is just trying to read the files normally I guess.

  • Javahelp and css problem

    I haven't been able to get image bullets to work in JavaHelp with css .
    " I believe it's because the "url" attribute is not part of the HTML 3.2
    specification. I hope I'm wrong, I'd like to be able to use bullets"
    example
    body{
    background-image: url("fondo.gif");
    this don't work in javahelp but yes in firefox

    I haven't been able to get image bullets to work in JavaHelp with css .
    " I believe it's because the "url" attribute is not part of the HTML 3.2
    specification. I hope I'm wrong, I'd like to be able to use bullets"

  • Error when using Tomcat and JavaWebStart

    I got the following message:
    ========================================
    An error occurred while launching/running the application.
    Title: Notepad
    Vendor: Sun Microsystems, Inc.
    Category: Download Error
    Bad MIME type returned from server when accessing resource: http://c152:8080/test.jnlp - text/plain
    ========================================
    It worked fine for http://c152:8080/notepad.jnlp
    Could any one help me?

    This got solved from a previous post by izhidov :
    This person wrote:
    "Regarding Tomcat and JNLP/MIME conflict, I've read on Tomcat users list archive that the mime types should be specified in the APPLICATION web.xml file under WEB-INF dir. Seems to work great".
    Thanks.

Maybe you are looking for