I've searched through the community and can't seem to find an exact match of my problem, and those that come closest the proposed solutions have not resulted in any progress.
Context: received my new work laptop and running RH 2022.3.93 on Win11. II am able to generate Responsive HTML5 documentation, but our internal customers (and some external) prefer working with PDF, so I output both formats. When I go to compile my project to PDF, it fails after a few seconds with the following Error lines in the log file (I've attached a screenshot as well):
* Cannot read property 'push' of undefined
* Java not found. See if Java 1.8(64-bit) or higher is installed and JAVA_HOME environment variable is also set.
* Java installation could not be verified. See output logs for more details.
* Failed to generate SecureTable_PDF. Check log for more details.
I have local admin rights on my laptop and created the JAVA_HOME variable with no improvement. Since last Friday, I have installed, uninstalled, and re-installed Java 8.831 at least seven times.
When I compare the installation of RH and Java on my old work laptop (Win10), I see that Java is installed in C:\Program Files\Java as opposed to C:\Program Files (x86)\Java on the Win11 machine. The Win10 laptop also does not have a JAVA_HOME environment variable configured but I've never had an issue generating PDFs on that laptop. One test as part of my Java installs was to replicate the same directory structure from the Win10 box on the Win11 box. No difference.
At the moment, I have to push and pull all my project files to and from GitHub to edit the project on the Win11 machine, and then generate the PDF on the Win 10 box before pulling it back to the Win11 machine to then distribute and share. Each PDF I generate takes ~15 minutes to complete my two-step laptop do-si-do.
Simply reverting back to the Win10 laptop is not an option (I am long overdure to send it back to IT for a wipe), as it is slow and often unresponsive when more than a few apps are running. Has anyone else encountered a PDF generation problem on Win11 with RH 2022? As I am the only person using RH, I have pretty much reached the end of the support that our internal IT department can deal with and I have 2 more modules of this project to produce this week.
Should I open a ticket with Adobe?
Any help will be greatly appreciated.
Have you followed Peter's site instructions? (https://www.grainge.org/pages/authoring/rh_tour/rh2022/outputs/outputs_pdf.htm)
The fact that your Java is being located in the \(x86)\ folder leads me to think that you loaded the 32-bit version instead of the 64 bit one.
Many thanks. I didn't question the Java install file as the IT guy told me which one to download. Uninstalling the previous version and installing the 64-bit version has resolved my issues. Thank you very much!
Was that the issue? 32 vs 64 bit installer?
Yes, the 64-bit version installed in the same directory as my old laptop and now everything is working perfectly.