Skip to main content
Known Participant
July 16, 2020
Answered

RH 2020 - 'Java not found' when generating PDFs

  • July 16, 2020
  • 10 replies
  • 3132 views

Hi all,

 

Just installed the new RH 2020. Since, it's ran sluggishly - and when generating a PDF, it says ''Java not found' in the log.

 

Is my system's Java out of date?

 

Thanks.

    This topic has been closed for replies.
    Correct answer Peter Grainge

    You are showing a link to the Java Development Kit. You require the Java Runtime Environment. 

     

    Java SE Runtime Environment 8 - Downloads | Oracle United Kingdom

     

    You may require a different link as the above is for the UK but it is the Runtime Environment you need.

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

    10 replies

    Community Expert
    December 11, 2022

    I think  you installed the 32-bit version. Can you try the 64-bit version instead?

    Participant
    October 12, 2021

    Quick update here - I just ran into this same issue (I'm on a Mac fwiw). I followed the suggestions here to install the latest JRE (runtime environment). However I still had the same problem.

    Spoke with Adobe Support and they suggested installing the latest JDK (development kit). 

    After installing the latest JDK I was able to successfully save PDFs. 

    Peter Grainge
    Community Expert
    Peter GraingeCommunity ExpertCorrect answer
    Community Expert
    February 15, 2021

    You are showing a link to the Java Development Kit. You require the Java Runtime Environment. 

     

    Java SE Runtime Environment 8 - Downloads | Oracle United Kingdom

     

    You may require a different link as the above is for the UK but it is the Runtime Environment you need.

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Participating Frequently
    February 17, 2021

    Thank you @Peter Grainge  for the suggestions. I am able generate the PDF.

     

    Regards,

    Radhika

    Peter Grainge
    Community Expert
    Community Expert
    February 15, 2021

    Please see the other replies in this thread. The most likely reason is that you have installed the wrong version, 32 bit rather than 64 bit or the other way around.

     

    Also see this page for full instructions. PDF Output (grainge.org)

    ________________________________________________________
    See www.grainge.org for free Authoring and RoboHelp Information

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Participating Frequently
    February 15, 2021

    Thanks @Peter Grainge . I did install the 64 bit version of JAVA. 

    The following versions:

     

    from https://www.oracle.com/in/java/technologies/javase/javase-jdk8-downloads.html

    and

    https://www.oracle.com/in/java/technologies/javase-jre8-downloads.html

     

    My system configuration:

     

    Also referred PDF Output (grainge.org)

     

    Regards,

    Radhika

     

    Peter Grainge
    Community Expert
    Community Expert
    July 17, 2020

    Good news.

     

    For anyone else reading this thread, I have been advised that no path is required by RoboHelp to Java.

     

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Peter Grainge
    Community Expert
    Community Expert
    July 17, 2020

    My path is also C:\Program Files (x86)\Common Files\Oracle\Java\javapath.

     

    It will be interesting to see what Support come up with.

     

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Adobe Employee
    July 17, 2020

    Please install 64bit version of Java 8 and above. Let us know if that resolves the issue.

     

    thanks

    Amitoj Singh

    Ioana_St
    Inspiring
    July 17, 2020

    I confirm that it works after uninstalling the 32-bit version and installing the 64-bit version. Totally a user error problem on my side!

    Ioana_St
    Inspiring
    July 17, 2020

    Please post back when you hear from support! I'm also having the same issue (same version as you, 1.8.0 261). The installer had already added an entry in the system PATH variable (pointing to C:\Program Files (x86)\Common Files\Oracle\Java\javapath) and I tried adding the Java folder (C:\Program Files (x86)\Java\jre1.8.0_261\bin) to JAVA_HOME and JRE_HOME, to cover all bases... no luck.

     

    If I check the java version in a cmd, it works.

    C:\Users\ioana>java -version
    java version "1.8.0_261"
    Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
    Java HotSpot(TM) Client VM (build 25.261-b12, mixed mode)

    Known Participant
    July 17, 2020

    Support are investigating now and will come back to me. Will let you know when I've found out more.

    Peter Grainge
    Community Expert
    Community Expert
    July 17, 2020

    That's the version I am on now and I can generate a PDF document. Please let us know what support say.

     

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Known Participant
    July 17, 2020

    Hi Peter. Thank you for your response.

     

    I am running the latest version of Java 8 - which is higher than the version specified in the topic:

     

    I will get in touch with technical support.

     

    Peter Grainge
    Community Expert
    Community Expert
    July 16, 2020

    RoboHelp itself does not need Java so anything you have there should not affect performance. Did you install to the default location with admin rights?

     

    Generating a PDF does require Java. Open the About RoboHelp sample project and look at the PDF Output topic. It's explained there.

     

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.