Cannot generate PDF; Java not found

New Here ,
Oct 08, 2020 Oct 08, 2020

Copy link to clipboard

Copied

Hello,

I recently upgraded to RH v20 to take advantage of the PDF generation features that were not in v19. However, I am unable to generate a PDF from my html files. I've tried smaller and larger TOCs, using different settings in the output configuration, creating brand new output formats in case someone was corrupted, etc. I keep getting the same error in the log after it finishes merging the htm files:"Java not found." I already saw that this was an issue for others so I uninstalled the java I had and resinstalled it with x64 version (C:\Program Files\Java\jre1.8.0_261\bin) and I'm still getting the same error. I've got the latest versions of RH and Media Encoder and everything else I can from Creative Cloud installed and am at a loss about what I can do to fix this. 

 

I don't know if it matters, but I can generate Word and Responsive HMTL 5 outputs fine.

Views

274

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Oct 08, 2020 Oct 08, 2020

Copy link to clipboard

Copied

Everything you have said points to the problem genuinely being the Java installation. You could try generating the About RoboHelp sample project as we know that generates fine if the Java installation is correct.

 

There is no need to set a Java path so I am wondering if you have set something up that is causing a problem.

 

  1. Did you do anything over and above installing it?
  2. Try uninstalling it and rebooting before reinstalling.
  3. I don't think it's necessary for this by if you haven't installed Update 1, do that.

 

If the issue is still there after that, I think you will need to go to Adobe Support. techcomm@adobe.com or your local phone number.

 

Please use the blue Reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 08, 2020 Oct 08, 2020

Copy link to clipboard

Copied

Thank you for your reply, Peter. I haven't done anything special in terms of my installation process. I uninstalled my java installation as well as my RH 20 installation and reinistalled both with their default installation directions. I have also updated RH 20 via Creative Cloud as much as I can and am still seeing the issue. I will contact support to see if anything else can be done. Thanks.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Oct 09, 2020 Oct 09, 2020

Copy link to clipboard

Copied

Do you also have the problem if you generate a PDF from the About RoboHelp sample project?

 

Please use the blue Reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 09, 2020 Oct 09, 2020

Copy link to clipboard

Copied

Yes, the sample project also fails to generate a PDF

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Oct 10, 2020 Oct 10, 2020

Copy link to clipboard

Copied

In that case there is either something still wrong with your Java installation or there is something unusual about your PC setup.

 

If you are in a corporate environment, seek the help of your IT people. Beyond that you need to contact Adobe Support.

 

I have assumed you are working on a local machine and RoboHelp is installed to the default location.

 

Please use the blue Reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 20, 2020 Oct 20, 2020

Copy link to clipboard

Copied

Thank you for your help. With the assistance of support I was able to get the default TOC as well as my own TOCs to generate a PDF. I'll include the steps that helped me here in case anyone else runs into this issue:

 

  1. Go to the “Edit the system environment variables” option.
  2. Under Advanced Tab > Click Environment variable
  3. Under System Variable there should a variable name “JAVA_HOME”. This variable should show the install location of the JRE version you want to use. If there is more than one JAVA_HOME variable under the system variable then you can remove the one you don’t want to use. If this location is in an odd spot other than the expected default location, you can try changing it to the default value (see image below).
  4. If there is no JAVA_HOME variable showing under the system variable then you can click on “New” under the system variable. You can type JAVA_HOME as a variable name and enter the install location of JRE you want to use as Variable Value(image below).
  5. Click ok and Apply changes.

ArielTWF_1-1603230872340.jpeg

 

6. Restart your system Launch RoboHelp and check for the issue again. 

7. If the issue persists then you create a new test project and check if the same issue is reproducible or not If the issue is still reproducible then you can remove JAVA and RoboHelp 2020.

8. Install JAVA 8 (64bit)  and then install RoboHelp 2020.

9. Launch RoboHelp. Click on Help> Update and install the latest update patch.

Check for the issue again.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation