I got that error while I was installing version 7.1.0 P03. What should I do? Could you help me to solve problem?
This is a known issue fixed in later versions and patches. I will get a KB article written to assist other customers.
Did you run the 7.1 installer and than the P03 patch? In the same session? Can you look at what %JAVA_HOME% is set
Same happened to me.
As workaround I have just set the right JAVA_HOME value:
# export JAVA_HOME=/etc/alternatives/java_sdk
and then re.run
# sh patch.sh
Retrieving data ...