Monday, 20 January 2020

XML Publisher: Preview not working after Java upgrade

This post is just point out a setting which you need to modify in XML Publisher Desktop, if you have done an upgrade on Java in your machine. 


Error: After the Java update, when you try to do a Preview form XML Publisher Desktop, you get the below error message:




Solution: The reason for the error is because you have the old path set in the "Java Home " field in XML Publisher Settings. Update the Java Home in the below path.

Tools --> Options --> Preview (Tab)






Note:- The path is without the bin folder.

In my example, it is 'C:\Program Files (x86)\Java\jre1.8.0_211NOT 'C:\Program Files (x86)\Java\jre1.8.0_211\bin'



Feel free to point out if anything is wrong/missing in this post.

No comments:

Post a Comment