On 07/05/2013 02:16 PM, Niels Grundtvig Nielsen wrote:
Thanks; I'd misunderstood what I needed to specify as default viewer,
and not noticed that I needed to specify the MIME type.
This is clearly documented here:
http://www.xmlmind.com/xmleditor/_distrib/doc/dita/help-2.html#map_menu
---
Convert to Java Help
Converts the document being edited to a .jar file for use by the
Java™ Help system.
Requires:
1) Download and install JavaHelp Opens in new window.
2) Declare the Java™ Help indexer, jhindexer (jhindexer.bat on
Windows), as the helper application associated to files having a
"application/x-java-help-index" MIME type. This can be specified by
using the Preferences dialog box, Helper Applications section.
---
Next problem – jh2.0 installed yesterday, java 1.7.0_25 up and running …
but an error message when I try to open the JavaHelp I've made from a
ditamap. Am I using the right java command? or have I missed something else?
I've already answered your question by describing step by step how to
associate
application/x-java-help-index
to
jhindexer.bat
(It's jh2.0_install_dir/javahelp\bin\jhindexer.bat
NOT
java -jar fullmapWH.jar)
My answer even included a screenshot. I really don't see what more I
could do.
May be you didn't receive this email. Please find below a copy of my
detailed answer:
1) Please select Options|Preferences, "Helper Applications" section.
2) Click "Add".
3) Please specify
application/x-java-help-index
in the "MIME type" field of the "Helper Application Editor" dialog box.
4) Please specify
C:\Users\a548040\jh2.0\javahelp\bin\jhindexer.bat "%F"
in the "Helper application" field of the "Helper Application Editor"
dialog box.
See attached screenshot.
Reference:
http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.helperapps.HelperApplicationEditor.html
N
C:\Users\a548040\ditaXPS>java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)
C:\Users\a548040\ditaXPS>java -jar fullmapWH.jar
no main manifest attribute, in fullmapWH.jar
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support