I recently got FrameMaker 2017 on my computer. I started making some DITA XML files and tried to publish to a number of the default outputs. Every time, they give me this message: "Failed to publish. Check if JRE is installed." I have Java installed, and even when I check in the windows command line, I see that Windows can detect the Java Runtime Environment. I've been trying to figure out what the problem is for the better part of a day, and haven't been able to find a solution online. Any help would be appreciated.
Is your setting of the variable JAVA_HOME correct or done?
Yes, I set up JAVA_HOME. When it didn't work, I tried every value for it that seemed reasonable and it still hasn't worked.
I had the same problem recently. Make sure you have the right JRE installed. For FrameMaker 2017, since it's 32-bit you need the 32-bit JRE. If your Java is installed in, for example: C:\Program Files\Java, you don't have the right one.
It needs to be in C:\Program Files (x86)\Java.
You can have both 32 bit and 64 on your computer.
I'm not an expert in things Java but this is what worked for me.
You can google "download JRE 32 bit" to find the links to the download.
Hope this helps.
Thanks - I had the same problem. Just followed your instructions, downloaded Java and it is not working fine.
me too. I have installed jre1.8.0_221 and it is installed in: C:\Program Files (x86)\Java\jre1.8.0_221. I have also added the path in Windows environment. I can echo it using cmd, but FM still doesnt find it.
Solution from another post - https://community.adobe.com/t5/framemaker/are-you-getting-failed-to-publish-check-if-jre-is-installe... -
"It is frustrating when you are trying to get something done and you get an error message that you least expected. Don’t worry, we know how to fix it. One of the main reasons for this is incorrect version of JRE on your system is that you are using an incompatible version of JRE. If you are using a 32-bit system, make sure you have 32-bit version of JRE installed. Similarly, on a 64-bit system, you must have 64-bit JRE. If you mix it, then FrameMaker will fail to recognize it."