Here's my scenario,
I've had to install Oracle 22.214.171.124 on a new box, which went very well. I then upgraded to 126.96.36.199 that went very well. Now I'm trying to install patch 14 and I keep getting an error stating that Opatch does not "see" java 1.4.x. I have even loaded JAVA 1.5.007. I can't overcome this 255 error. I checked the version java -version and it shows 1.4.x but when I run the opatch lsinventory I get the 255 error. I'm running Oracle 9I on a w2k3 platform.
I am not a DBA but a Sys Admin who has to tackle this in absence of a DBA...so be gentle.