Webhelp fails on Windows with Oxygen v24
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 75
- Joined: Mon Sep 28, 2009 8:10 am
Webhelp fails on Windows with Oxygen v24
I'm on Windows 10 using Oxygen version 24.0. I am using a custom DITA OT v3.5.4 to run Oxygen webhelp. It fails with this error:
But this works with Oxygen v24 on macOS. Is this because of the new Java version in v24?
Code: Select all
BUILD FAILED
C:\Users\mark\git\synopsys\doc--docs-dita-tools\dita-ot\plugins\org.dita.base\build.xml:29: The following error occurred while executing this line:
C:\Users\mark\git\synopsys\doc--docs-dita-tools\dita-ot\plugins\com.oxygenxml.webhelp.responsive\build_dita.xml:73: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "com.sun.xml.bind.v2.runtime.reflect.opt.Injector.defineClass" is null
-
- Posts: 9473
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Webhelp fails on Windows with Oxygen v24
Hi,
Your Oxygen kit on Windows is bundled with Java 17. The WebHelp plugin in the DITA OT you are running was incompatible with Java 9 or newer. We made it compatible around Oxygen 20.1 but you are using an older DITA OT.
If you look on the downloads page for Oxygen XML Author 24.0 on Windows:
https://www.oxygenxml.com/xml_author/do ... os=Windows
the first download link includes Java 17 but there is another download link further down named "Windows 64-bit (Includes Java SE 8u202)", you should uninstall Oxygen and use that kit with Java 8 instead.
Or of course upgrade the used DITA OT publishing engine and WebHelp plugin to a more recent version.
On Mac OS the same thing works before probably you got the kit which is bundled with Java 8. You can check this in the main menu Help->About->System properties, look for the value of the property "java.version".
Regards,
Radu
Your Oxygen kit on Windows is bundled with Java 17. The WebHelp plugin in the DITA OT you are running was incompatible with Java 9 or newer. We made it compatible around Oxygen 20.1 but you are using an older DITA OT.
If you look on the downloads page for Oxygen XML Author 24.0 on Windows:
https://www.oxygenxml.com/xml_author/do ... os=Windows
the first download link includes Java 17 but there is another download link further down named "Windows 64-bit (Includes Java SE 8u202)", you should uninstall Oxygen and use that kit with Java 8 instead.
Or of course upgrade the used DITA OT publishing engine and WebHelp plugin to a more recent version.
On Mac OS the same thing works before probably you got the kit which is bundled with Java 8. You can check this in the main menu Help->About->System properties, look for the value of the property "java.version".
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service